aniallator8
TTCTheo's Typesafe Cult
•Created by Futures Trader on 5/6/2023 in #questions
Clerk not saving username
5 replies
TTCTheo's Typesafe Cult
•Created by Futures Trader on 5/6/2023 in #questions
Clerk not saving username
For me, I enabled Github and Google. The Github method affords a username, the Google method doesn't.
You could change up the identifier to just use ID. I've changed it up so that when username === null, I'll fall back to ID. There's a https://clerk.com/docs/nextjs/user-object#get-user-user-id that will help you out here.
5 replies