© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•6mo ago•
5 replies
Fabrizio

Working example for `linkIdentity`

Hey guys,

to understand this topic better, please read this one here first - help-and-questionsAny transactional emails are being delivered - I've been having some issues to link two email accounts to one user (github oauth & payment gateway) but the docs are quite simple - https://supabase.com/docs/guides/auth/auth-identity-linking#manual-linking-beta - to this matter and I'm stuck on this for the last two weeks, I tried several things already and still no luck at all... does anyone have a real working example to help to solve this part?

TL;DR - user purchased subscription on payment gateway using
user@providerA.com
user@providerA.com
and user logs in using github account with email
user@anotherprovider.com
user@anotherprovider.com
and I need to "link" these two accounts to one but i've been failing on this.
Identity Linking | Supabase Docs
Manage the identities associated with your user
Identity Linking | Supabase Docs
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

linkIdentity() with Google
SupabaseSSupabase / help-and-questions
5mo ago
example code not working
SupabaseSSupabase / help-and-questions
4y ago
[Swift] Sign In With Apple, anon users, & linkIdentity
SupabaseSSupabase / help-and-questions
13mo ago
Horizontal scaling for hosted service (read-only for example) ?
SupabaseSSupabase / help-and-questions
4y ago