Step 8: Call the resume endpoint

GET {{authPath}}/{{envID}}/as/resume?flowId={{flowID}}

After completing the actions specified by the sign-on policy, the authentication flow completes and the user is redirected to the URL specified in the resumeUrl property in the flow resource.

You can use the GET /{{envID}}/as/resume?flowId={{flowID}} endpoint to obtain the authorization code. The response returns a 302 HTTP Status message and a Location HTTP header that includes the code.

Note: If this call fails to return a 302 HTTP Status, for a possible solution see Configuring and managing Qodex.

Request Params

KeyDatatypeRequiredDescription
flowIdstring