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?
L;DR - user purchased subscription on payment gateway using user@providerA.com and user logs in using github account with email user@anotherprovider.com and I need to "link" these two accounts to one but i've been failing on this.
Manage the identities associated with your user
Was this page helpful?