JavaScript: Sign in with ID Token

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'
\})