Getting {} from /api/auth/session on Vercel Preview deployments #1370
-
| Hey there, I'm trying to figure out why I'm always getting empty JSON (w/ 304 status code) back from  Here's my [...nextauth].js: https://github.com/mitaai/AnnotationStudio/blob/blms/next-auth-debug/src/pages/api/auth/%5B...nextauth%5D.js I'm using the Email provider and MongoDB. I set  I've also updated to 3.5.1. Some things are definitely working: the verification email is being sent correctly; and the db,  Any idea why I'd be getting back an empty JSON object? I saw someone say something about it might be related to a custom JWT callback, or something with the secret…? | 
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
| Have you tried debugging?: | 
Beta Was this translation helpful? Give feedback.


Have you tried debugging?:
https://next-auth.js.org/configuration/options#debug