💽 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
route.ts
import { prisma } from '@/lib/prisma';
export const authOptions: NextAuthOptions = {
adapter: PrismaAdapter(prisma),
// ...
}