v2
latestOpenAPI 3.0.12026-07-26334612609.5 KBSDK
Oauth provider redirect endpoint
Endpoint where an oauth provider would redirect after a successful user authorizing the oauth application.
get/sdk/{environmentId}/providers/{providerType}/redirect
Path parameters
environmentIdstring required
Example:95b11417-f18f-457f-8804-68e361f9164f
ID of the environment
providerType'emailOnly' | 'magicLink' | 'apple' | 'bitbucket' | 'coinbasesocial' | 'discord' | 'epicgames' | 'facebook' | 'farcaster' | 'github' | 'gitlab' | 'google' | 'instagram' | 'linkedin' | 'microsoft' | 'twitch' | 'twitter' | 'blocto' | 'banxa' | 'coinbaseOnramp' | 'cryptoDotCom' | 'dynamic' | 'alchemy' | 'zerodev' | 'telegram' | 'turnkey' | 'coinbaseWaas' | 'sms' | 'spotify' | 'tiktok' | 'line' | 'steam' | 'shopify' | 'zksync' | 'kraken' | 'blockaid' | 'passkey' | 'okta' | 'sendgrid' | 'resend' required
The 'turnkey' value is deprecated and will be removed in a future version.
Type of external auth provider
Query parameters
codestring
Valid oauth code
Example:4/0AVHEtk436ug4uWwZN9i2PDpxGTVnLr63IqTNFzTInHce1q2JHQyOCJut9IK2SCZh4JaoSA
scopestring
statestring
authuserstring
promptstring
errorstring
Valid oauth error
Example:access_denied
Response
Success