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.

JavaScript: signInWithIdToken

Allows signing in with an OIDC ID token. The authentication provider used should be enabled and configured.

Parameters

Examples

Sign In using ID Token

const { data, error } = await supabase.auth.signInWithIdToken({
  provider: 'google',
  token: 'your-id-token'
})