For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.

Kotlin: Link an identity to a user

Parameters

Examples

Link an identity to a user

supabase.auth.linkIdentity(OAuthProvider)

// Example:
supabase.auth.linkIdentity(Google)

Link an identity to a user via an id token

supabase.auth.linkIdentityWithIdToken(Google, idToken = "receivedToken")