#Hello guys,
1 messages · Page 1 of 1 (latest)
I want use nextjs as pure frontend -> no connection to databases
In the backend I want to use nestjs
Nope, just github at the moment
Is there a way to get the user ID of github by sending a request to github?
look at what their user endpoint gives
is it only email?
honestly you could just have a primary key be the joined provider and email
or you can break them in their own columns and have them joined as a unique index
but what happens if the user changes it's email -> all posts and ownerships would be lost
that is true
there surely is something that the github oauth gives
that does not change?
like an account ID or something
Yes I get the Id now
but now I need to add the provider-type.
Trying to figure out how i can add that information to session