POST
/
sdk
/
{environmentId}
/
providers
/
{providerType}
/
redirect
curl --request POST \
  --url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/providers/{providerType}/redirect \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data code=4/0AVHEtk436ug4uWwZN9i2PDpxGTVnLr63IqTNFzTInHce1q2JHQyOCJut9IK2SCZh4JaoSA \
  --data 'state=<string>' \
  --data 'id_token=<string>' \
  --data error=access_denied
"<string>"

Path Parameters

environmentId
string
required

ID of the environment

providerType
enum<string>
required

Type of external auth provider

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

Body

application/x-www-form-urlencoded
code
string

Valid oauth code

state
string
id_token
string
error
string

Valid oauth error

Response

200 - text/html

The response is of type string.