DEV Community

Discussion on: Using Credentials provider with a custom backend in NextAuth.js!

Collapse
 
bharath_ profile image
Bharath Radhakrishnan

What I actually wanted was to save the username, email ... fields after the google / signup to my own database. I think I figured it out. I am using the callbacks options inside the [...nextauth].js to call my api to pass username and email to my backend to store in my db.

Thread Thread
 
twisha profile image
Twisha

Ah okay I see what you mean, thanks for sharing your solution :)