Nephelophyte
TTCTheo's Typesafe Cult
•Created by Nephelophyte on 12/11/2023 in #questions
Extending the default PrismaAdapter you get
I want to extend the default prisma adapter to be able to award a badge to the first 100 users to sign up for my site. Unfortunately, the following code actually breaks nextjs entirely and becomes a zombie process. Not quite sure what I'm doing wrong here:
Then later on
`
export const authOptions: NextAuthOptions = {
{...}
adapter: extendedAdapter(db),
{...}
}
5 replies