To respond to the SIGN_ON_REQUIRED
flow state, the user initiates the user.lookup
action. The flow service calls the POST /{{envID}}/flows/{{flowID}}
endpoint operation and uses the application/vnd.pingidentity.user.lookup+json
custom media type in the Content-type
HTTP request header to identify the action.
The request body requires the username
property, which specifies the name to use for the lookup action. In this workflow, if the user.lookup
action completes successfully, the flow proceeds to the next sign-on policy action. The flow status
value of OTP_REQUIRED
requires a one-time password verification.
The response includes a HAL link for the otp.check
action as an option for this flow. This option is available because the sign-on policy includes the MULTIFACTOR_AUTHENTICATION
policy action to prompt the user to complete an MFA action.