Can I save more user data with NextAuth than simply what my provider gives?
I want to save a username as well as the slug for the user's homepage, but can't figure out how to do this. Things break when I add these to my model, telling me
Invalid
p.user.create() invocation in
at the user creation invocation6 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
ah ok i see
what is the best way to handle something like this? i was considering making a custom user model that just relates to the generated one, but unsure if this is unnecessarily complex
and if i just extend, when do i populate?
finding a lot of conflicting info via google search
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
hmm ok that makes sense. so i'm trying to do this but it seems this event isn't being run for some reason. I look at my terminal, and every signout throws this session error, but i've not really added any config that would make sense for this to be thrown:
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
this is my config
ok i think it actually may have been the order in which i was logging out/deleting my user, it's running now