hugo
CCConvex Community
•Created by hugo on 6/30/2024 in #support-community
Google OAuth used in Vercel production got failed to authenticate
Hi, I am currently using this repo: https://github.com/get-convex/convex-nextauth-template to implement Google OAuth instead of Github for my application. When i test it in localhost, it works really fine. But when i deploy it to Vercel in production, I got this error: Failed to authenticate: "Could not verify token claim", check your server auth config, and this leads to all the Uncaught Error: Not authenticated errors in Convex. The data of user is still created in the users and accounts table, as well as a new session is created to the sessions tables. How can i solve this?
Thank you
3 replies