JW
CCConvex Community
•Created by JW on 2/6/2025 in #support-community
Issue with Google Login in Production
Hi everyone, I’m experiencing an issue with Google login in my production environment.
Tech Stack:
- Next.js: 15.1
- Convex: 1.17.4
- @auth/core: 0.36.0 (downgraded from 0.37.0, but the issue persists)
- @convex-dev/auth: 0.0.78
Issue:
- Using Password, GitHub, and Google providers.
- All work fine in local dev, but in production, only Google login fails.
- Google users aren’t registered in Convex DB.
Relevant Code:
convex/auth.ts
middleware.ts
Troubleshooting:
- Downgraded @auth/core 0.37.0 to 0.36.0 – no effect.
- Verified OAuth credentials & callback URLs – all correct.
Anyone faced a similar issue? Could this be due to env variables, CORS, or OAuth config?
Thanks in advance! 🚀
3 replies