jerry
jerry3mo ago

Linking accounts after Anonymous sign in?

In my React Native app, I'd like to give users an authenticated experience without requiring them to sign-in via OAuth. Users can later link an authentication method to their account when ready. I see that there's an Anonymous provider, which I plan to use on app start. Will calling sign-in later with an OAuth provider link the anonymous account? I'm trying to migrate existing functionality I have with a Better Auth instance + their anonymous plugin. I see there's an Account Linking section in the Advanced portion of the docs, but there's no mention of the Anonymous provider, so some guidance would be helpful Thanks!
3 Replies
Convex Bot
Convex Bot3mo ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
dent_arthur_42
dent_arthur_423mo ago
I see there's an Account Linking section in the Advanced portion of the docs, but there's no mention of the Anonymous provider, so some guidance would be helpful
There is a section here - https://labs.convex.dev/auth/config/anonymous (accessible via search, not nav bar).
I'm trying to migrate existing functionality I have with a Better Auth instance + their anonymous plugin.
It is a bit complex in convex auth. You can find more context in these threads - https://discord.com/channels/1019350475847499849/1371068705861271602 https://discord.com/channels/1019350475847499849/1367292670837264594
Anonymous Users - Convex Auth
Authentication library for your Convex backend
dent_arthur_42
dent_arthur_423mo ago
Personally, I am parking this till better-auth integration is in place ( #better-auth )

Did you find this page helpful?