Step 22: Call the resume endpoint
GET {{authPath}}/{{destinationEnvID}}/as/resume?flowId={{flowID}}
Use a GET {{authPath}}/{{destinationEnvID}}/as/resume?flowId={{flowID}} request to obtain an authorization code, which will be exchanged for an access token in the next step. This example shows the /{{destinationEnvID}}/as/resume operation to return the flow back to the authorization service, specifying the flowID in the request URL.
The response returns a 302 HTTP Status message and a Location HTTP header that includes the code.
For more information, see Resume.
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
flowId | string |
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Cookie | string | ||
Cookie | string | Used for browsers that improperly handle SameSite=None |