Step 24: Get the flow for account linking
GET {{authPath}}/{{destinationEnvID}}/flows/{{flowID}}
Use the GET {{authPath}}/{{destinationEnvID}}/flows/{{flowID}} operation to get the flow state for account linking.
- Use the destination environment id in the request URL.
The status property returned in the response body specifies the next action in the authentication flow. In this example, the status value "ACCOUNT_LINKING_REQUIRED" is returned. This indicates that the external identity returned by the identity provider requires an account linking action to link the external account to an existing user.
For more information, see Read Flow.
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Authorization | string | ||
Cookie | string | Use this for localhost |