Step 23: Call the external authentication callback endpoint

GET {{authPath}}/{{destinationEnvID}}/rp/callback/{{providerType}}?code={{authCode}}&state={{externalProviderState}}&nonce={{nonce}}

Call the external authentication callback using a GET {{authPath}}/{{destinationEnvID}}/rp/callback/{{providerType}}?code={{authCode}}&state={{externalProviderState}}&nonce={{nonce}} request. This step resumes the external authentication flow initiated in step 18.

  • Use the destination environment id in the request URL.

Set the following query parameters:

  • code

The external authentication code returned by the identity provider in step 18. This will be exchanged for an access token.

  • state

The external authentication state returned by the identity provider in step 18.

The response returns a 302 HTTP Status message and a Location HTTP header that includes the flowId.

For more information, see Read External Authentication Callback.

Request Params

KeyDatatypeRequiredDescription
codestring
statestring
noncestring