rgz
CCConvex Community
•Created by rgz on 8/20/2024 in #support-community
Using orCreateOrUpdate user in callback
Two problems here:
1. How can I get the tokenIdentity when creating a user, I need to get authSessionsId but I keep getting null.
my approach was
${url}/${userId}/${tokenId}
2. I keep getting a 302 error but everything is still working correctly.
GET /api/auth/signin/* 302
GET /api/auth/callback/* 302
This is the callback url I added on google:
https://my-stuff-123.convex.site/api/auth/callback/google
8 replies
CCConvex Community
•Created by rgz on 8/18/2024 in #support-community
Is there a way to store an _id to snapshot name via api?
I'm wanting to make a list where organizations can download their own data. Is there a way to customize a snapshot export name and call the export snapshot via api?
10 replies
CCConvex Community
•Created by rgz on 8/17/2024 in #support-community
ConvexAuth error after prod on vercel
When using Convex Auth with google it works great on localhost but when I upload to vercel, I keep getting 302 with signin and callback.
2 replies
CCConvex Community
•Created by rgz on 8/14/2024 in #support-community
Customizing default Schema after OAuth login
I'm trying to use the default schema and just update it with a few items:
I updated my schema with a new users table and added two fields at the end:
In the auth I used the createOrUpdateUser callback in auth.ts to create the user:
5 replies
CCConvex Community
•Created by rgz on 8/14/2024 in #support-community
Having some issues with getting user response ConvexAuth
14 replies