Overriding Prisma Adapter for Next Auth

In this video I talk through overriding the createUser method in the Prisma adapter for NextAuth.js. This is required when you need to implement custom logic when a user creates an account/signs up.

In our example we needed to set a username and the ID of the user who referred them from a cookie we create.

View More Posts

Portfolio built using the open source project by

Initium Studio

Create your own Next.js Portfolio with Contentful CMS by forking this repo onGitHub

Blog

|

Projects

|

Health

|

Recipes

|

About

|

Contact

2024 Greeff Consulting Pty Ltd