Read External Authentication Callback
GET {{authPath}}/{{envID}}/rp/callback/{{providerType}}?code={{externalAuthCode}}&state={{externalProviderState}}
The GET /{{envID}}/rp/callback/{{providerType}}?code={{externalAuthCode}}&state={{externalProviderState}} endpoint gets the response from the external identity provider after the user authenticates.
The request specifies the name of the external identity provider in the {{providerType}} request parameter (for example, facebook or google).
| Parameter | Description |
|---|---|
code | The external authentication code returned by the identity provider, which is exchanged for an access token. |
state | The external authentication state returned by the identity provider. |
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
code | string | ||
state | string |