You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// assume user is already logged in and authenticated// link the current user to a google identity// this works very similar to signInWithOAuth() and will redirect the user to google to complete the oauth flow // once the oauth flow has been completed, the user will be redirected back to the app with the identity linkedconst{ data, error }=awaitsupabase.auth.linkIdentity({provider: 'google'})// fetch all identities linked to the current userconst{data: { identities }}=awaitsupabase.auth.getUserIdentities()constgoogleIdentity=identities.find(identity=>identity.provider==='google')// unlink an identityawaitsupabase.auth.unlinkIdentity(googleIdentity)
General Info
Feature request
supabase/auth#313
we need similar capabilities in mobile
Usecase
supabase/supabase-swift#256
The text was updated successfully, but these errors were encountered: