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
Neto16mo 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
ergusto16mo ago
Awesome thanks @Neto that's a great start