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
Whatever code you change or run. It's not like I can see your web cam etc 😅
48 replies
CCConvex Community
•Created by ReacherX founder on 5/14/2025 in #support-community
Experiencing "Invalid verifier" error with Google OAuth in Convex Auth
Whatever you will do, I will see it real time
48 replies
CCConvex Community
•Created by ReacherX founder on 5/14/2025 in #support-community
Experiencing "Invalid verifier" error with Google OAuth in Convex Auth
Yes you can
48 replies
CCConvex Community
•Created by ReacherX founder on 5/14/2025 in #support-community
Experiencing "Invalid verifier" error with Google OAuth in Convex Auth
No cloning required
48 replies
CCConvex Community
•Created by ReacherX founder on 5/14/2025 in #support-community
Experiencing "Invalid verifier" error with Google OAuth in Convex Auth
You don't have to do anything. It's like I handed my vscode with my laptop to you.
You will have complete access to my code (all files front end/backend)
48 replies
CCConvex Community
•Created by ReacherX founder on 5/14/2025 in #support-community
Experiencing "Invalid verifier" error with Google OAuth in Convex Auth
I would say the best and the most efficient thing is going to be that I provide you access to my Google IDX workspace then you can freely see what's happening.
48 replies
CCConvex Community
•Created by ReacherX founder on 5/14/2025 in #support-community
Experiencing "Invalid verifier" error with Google OAuth in Convex Auth
So I hope it's clear, that authentication is working, The user is being created, but the session is not persistent
48 replies
CCConvex Community
•Created by ReacherX founder on 5/14/2025 in #support-community
Experiencing "Invalid verifier" error with Google OAuth in Convex Auth
It does authenticate the user, but somehow when the user goes to "/' route after the Google sing in flow, he is not in an authenticated state.
48 replies
CCConvex Community
•Created by ReacherX founder on 5/14/2025 in #support-community
Experiencing "Invalid verifier" error with Google OAuth in Convex Auth
When I get redirected at "/" route, I am not in an authenticated state, but in the users table indeed there is a new user entry.
48 replies
CCConvex Community
•Created by ReacherX founder on 5/14/2025 in #support-community
Experiencing "Invalid verifier" error with Google OAuth in Convex Auth
Yeah in my case also, the users table does contain new user entries.
The problem is the session persistence.
48 replies
CCConvex Community
•Created by ReacherX founder on 5/14/2025 in #support-community
Experiencing "Invalid verifier" error with Google OAuth in Convex Auth
Yes
48 replies
CCConvex Community
•Created by ReacherX founder on 5/14/2025 in #support-community
Experiencing "Invalid verifier" error with Google OAuth in Convex Auth
No no, the users table doesn't get empty.
I myself empty the table. So it's not like users table is getting cleared automatically.
And it's also not about the 1st time and second time.
No matter if I try it the 1st time or 2nd time, the behavior is the same.
When I am redirected back to the "/" route, I am just not authenticated.
48 replies
CCConvex Community
•Created by ReacherX founder on 5/14/2025 in #support-community
Experiencing "Invalid verifier" error with Google OAuth in Convex Auth
Auth is a fundamental feature for my app that I am building. So it would be awesome if this can be figured out 🥲
I personally have tried searching but seems like this is an issue in Convex Auth itself.
48 replies
CCConvex Community
•Created by ReacherX founder on 5/14/2025 in #support-community
Experiencing "Invalid verifier" error with Google OAuth in Convex Auth
@erquhart Since I am using Google IDX, I can give you access so you don't have to clone anything.
You can inspect my code and see the logs also in the terminal.
Let me know if you think that will be useful.
48 replies
CCConvex Community
•Created by ReacherX founder on 5/14/2025 in #support-community
Experiencing "Invalid verifier" error with Google OAuth in Convex Auth
The troubling part is:
While I am being redirected back to my "/" route, something happens that causes the session to end, that's why by the time I am at "/" route I am in an unauthenticated state.
So errors are there, I have provided what kind of errors occur during that flow.
48 replies
CCConvex Community
•Created by ReacherX founder on 5/14/2025 in #support-community
Experiencing "Invalid verifier" error with Google OAuth in Convex Auth
I think since Convex Auth is in beta, this is a bug/issue in the Convex Auth itself.
48 replies
CCConvex Community
•Created by ReacherX founder on 5/14/2025 in #support-community
Experiencing "Invalid verifier" error with Google OAuth in Convex Auth
@erquhart In the GitHub issue the person who created the issue also faces the same experience, the session is not persistent.
48 replies
CCConvex Community
•Created by ReacherX founder on 5/14/2025 in #support-community
Experiencing "Invalid verifier" error with Google OAuth in Convex Auth
Here's what I do:
- I click on Sign in with Google.
- A window opens where I have to select the account which I wanna use to sign in.
- I select and then I get redirected to the "/" route of my app.
In the video you can clearly see that indeed a user is created.
The problem is that when I am redirected to the "/" route, I am not in an authenticated state.
According to my understanding, the session doesn't remain. In the code you can see I have set the "cookie config", I thought maybe I haven't configured the "Cookie age" maybe that's the problem.
But after configuring that also, the behavior still remains the same.
The logs contain "No existing users found, creating new user" because at that point my users table was empty.
48 replies
CCConvex Community
•Created by ReacherX founder on 5/14/2025 in #support-community
Experiencing "Invalid verifier" error with Google OAuth in Convex Auth
@erquhart Provided the logs on GitHub also: https://github.com/get-convex/convex-auth/issues/193#issuecomment-2886888325
48 replies
CCConvex Community
•Created by ReacherX founder on 5/14/2025 in #support-community
Experiencing "Invalid verifier" error with Google OAuth in Convex Auth
@erquhart Here are the logs (redacted) after enabling verbose logging.
48 replies