Save info to the database for new users using NextAuth
I'm using NextAuth with Google and Twitter providers in my application and I wanted to save some data in a table for new users (like a signup). I've used signIn callback but it only works when we already have a user in our database. So, I wanted to know how this can be done. Please let me know if you have any suggestions or need further details.
0 Replies