T3 NextAuth - Email Provider WITH Username
I've gone through a few T3 tutorials and I'm creating my own application now.
Does anyone know the correct way to add a username to the initial user-signup via the NextAuth email provider?
Yes, I could have the user specify their username AFTER they click the link in their inbox, but it would be nice if they specified it when they type in their email during signup.
I could create a route for a username mutation but the user technically doesn't exist in the database until AFTER they click the link in their inbox.
Could someone describe how this could be done? Any code example resource would be a bonus.
Does anyone know the correct way to add a username to the initial user-signup via the NextAuth email provider?
Yes, I could have the user specify their username AFTER they click the link in their inbox, but it would be nice if they specified it when they type in their email during signup.
I could create a route for a username mutation but the user technically doesn't exist in the database until AFTER they click the link in their inbox.
Could someone describe how this could be done? Any code example resource would be a bonus.
