[next-auth + google] can't login on production

[next-auth, next 12, google provider, vercel] Logging-in works in dev, but no in production. When I choose an email on the google widget, it redirects me to the login page. There is no error to be seen, all network requests have 200 status, however there's a session request which returns an empty object! I was able to log my env vars successfully. My URI is in this format: https://my-url-jet.vercel.app/ And my redirect URI is in this format: https://my-url-jet.vercel.app/api/auth/callback/google
1 Reply
Aviv
AvivOP14mo ago
up
Want results from more Discord servers?
Add your server