How can I force users to make a custom username upon first signin? #1958
Unanswered
LGmatrix13
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want users to make their own username after first social auth signin. I plan to store this data in my database via the prisma adapter.
How, though, could I implement this? I’m thinking of making a data row called “setup” and setting it “false,” passing that into the next-auth session data, and on the front end tell users to setup a username if “setup” is “false.”
A few questions about this:
Thank you!!
Beta Was this translation helpful? Give feedback.
All reactions