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).

ParameterDescription
codeThe external authentication code returned by the identity provider, which is exchanged for an access token.
stateThe external authentication state returned by the identity provider.

Request Params

KeyDatatypeRequiredDescription
codestring
statestring