Next Auth sessions not working in production only

Hey 👋 I run a monorepo with a nextjs app and an electron app in it. The authentication is through JWT, and it happens on the nextjs app. Then the session token gets send to the electron app. All of this is fine in development. The problem comes when I deploy the nextjs app to Vercel, the sessions's don't work anymore. Even though the session token is sent through, it doesn't seem to find the session.
1 Reply
domi?
domi?•2y ago
Any ideas why it could be happening?
Want results from more Discord servers?
Add your server