relic
relic5mo ago

Linking anon users to Google

I have Convex auth set up and would like to do account linkage such that when a user clicks login with Google I can link their account to the current anon user that’s logged in via the callback in auth.ts. I’m having a hard time accessing anon user in there with the same code I use to access it in other places. Anyone know why that might be?
1 Reply
relic
relicOP5mo ago
Or I guess really what I want to do is get all the documents that exist under that anon user and update them to belong to the new user that gets created when logged in by Google, but again I’m still having hard time accessing the current anon user

Did you find this page helpful?