Teodorant, Tech-PriestT
tRPC2y ago
4 replies
Teodorant, Tech-Priest

In my NEXTJS app can read value next-auth session in localhost ,but not when deployed to Vercel

I have several procedures in my TRPC router (https://github.com/Teodorant1/nighthawk_repair/blob/master/server/index.ts), it seems to be bricking in the ones where I am awaiting the session
const session = (await getServerSession(authOptions)) as Session; seems to be the line of code that is bricking it on Vercel
Was this page helpful?