POST
/
sdk
/
{environmentId}
/
providers
/
{providerType}
/
redirect
Authorization
Path
Body
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 error=access_denied \
  --data 'id_token=<string>' \
  --data 'state=<string>'
"<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,
discord,
facebook,
github,
gitlab,
google,
instagram,
linkedin,
microsoft,
twitch,
twitter,
blocto,
banxa,
dynamic,
alchemy,
zerodev,
turnkey

Body

application/x-www-form-urlencoded
code
string

Valid oauth code

error
string

Valid oauth error

id_token
string
state
string

Response

200 - text/html

The response is of type string.