How to add unique username to user that signed in via provider?

What I'm trying to do: I'm trying to force user to add username after they signed in via provider. After they signed in, it'll redirect them to "/auth/new-user/". If they did not specify their username on this page, set default username "user{user.id}". In database I'll add new field "username" and make it unique.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server