Le
Le
TTCTheo's Typesafe Cult
Created by Le on 7/24/2024 in #questions
NextAuth problem in production on Vercel
Hey, I am having trouble using NextAuth in production, despite using it just fine in my development environment. I am using Prisma as well. I tried removing the NEXTAUTH_URL from my environment variables in production based on this https://next-auth.js.org/deployment#vercel, as well as removing the authOptions export from '~/server/auth' based on this https://github.com/vercel/next.js/discussions/50511 Unfortunatley neither of these solutions seemed to work, nor did the solutions that I have looked through here. I am using the Email provider, and the Google provider btw
23 replies