Documentation navigation

Auth

Sign in with an ID token

POST/auth/token

Authenticates with an ID token issued by a supported external provider.

Parameters

SignInWithIdTokenRequest
provider'apple' | 'azure' | 'discord' | 'github' | 'gitlab' | 'google' | 'snapchat' | 'twitch' | 'twitter' | 'x'
The provider that issued the token.
tokenstring
The provider ID token.
access_token?string
Provider access token.
nonce?string
Nonce used when requesting the ID token.
options.captchaToken?string
Captcha verification token.

Returns