ReacherX founder
CCConvex Community
•Created by ReacherX founder on 5/14/2025 in #support-community
Experiencing "Invalid verifier" error with Google OAuth in Convex Auth
Experiencing "Invalid verifier" error with Google OAuth in Convex Auth
I'm facing an issue where the user session doesn’t persist after a page refresh when using Google OAuth with Convex Auth. The authSessions table remains empty, and I’m seeing an "Invalid verifier" error in the Convex logs. Here’s my Convex backend configuration:
Environment Details
- @convex-dev/auth: ^0.0.84
- convex: ^1.24.0
- Platform: Web (Next.js with App Router)
Convex Backend Configuration (convex/auth.ts)
Environment variables (GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET) are set in the Convex dashboard.
Middleware (middleware.ts)
Error Logs (Convex Dashboard)
Is there a solution that works?
48 replies