💽 Auth Data Store

Store user data in your database

Refer to the Prisma setup docs to address any issues.

command line
npm install @prisma/client @next-auth/prisma-adapter
file_type_typescript route.ts
import { prisma } from '@/lib/prisma';

export const authOptions: NextAuthOptions = {

  adapter: PrismaAdapter(prisma),
    //  ...
}

Questions? Let's chat

Open Discord