Custom fields with EmailProvider

Using EmailProvider with Prisma and doesn't seem clear how to add additional fields to the user during initial registration - is there a way to do this or should I just send the user to a new form as a second step after the user has successfully authenticated with a sign in link?
2 Replies
Neto
Neto2y ago
https://authjs.dev/guides/adapters/creating-a-database-adapter with that you have access to all methods on auth.js https://github.com/nextauthjs/next-auth/tree/main/packages/adapter-prisma this is the source for the default code of the prisma adapter you can mix and match to get the default behaviour that you want
ergusto
ergustoOP2y ago
Awesome thanks @Neto that's a great start
Want results from more Discord servers?
Add your server