POST
/
sdk
/
{environmentId}
/
providers
/
{providerType}
/
verify

Path Parameters

environmentId
string
required

ID of the environment

Required string length: 36
providerType
enum<string>
required

Type of external auth provider

Available options:
emailOnly,
magicLink,
apple,
bitbucket,
coinbasesocial,
discord,
epicgames,
facebook,
farcaster,
github,
gitlab,
google,
instagram,
linkedin,
microsoft,
twitch,
twitter,
blocto,
banxa,
dynamic,
alchemy,
zerodev,
telegram,
turnkey,
coinbaseWaas,
sms,
spotify,
tiktok,
line,
steam,
shopify

Body

application/json
state
string
required

Temporary auth state for oauth2 access

code
string

Temporary auth code for oauth2 access

codeVerifier
string

Temporary auth code verifier for oauth2 access

captchaToken
string

Optional captcha token to verify that the user is not a bot

sessionPublicKey
string

Response

200 - application/json
user
object
required
expiresAt
number
required

Format is a unix-based timestamp. When set, this will be the expiration timestamp on the JWT sent using either the jwt field or a response httpOnly cookie set by the server.

mfaToken
string
jwt
string

Encoded JWT token. This will only be returned when cookie-based authentication is disabled in favor of standard Auth header based authentication.

minifiedJwt
string

Encoded JWT token. This will only be returned when cookie-based authentication is disabled in favor of standard Auth header based authentication.