The authorize service calls the GET /{environmentId}/flows/{flowID} operation and uses the {flowId} value from the /{environmentId}/as/authorize response to get the flow and the current flow state. The status property in the GET /{environmentId}/flows/{flowID} response specifies the initial flow state, which determines the possible next actions in the authentication workflow.

In this workflow, the status attribute shows USERNAME_PASSWORD_REQUIRED, specifying that username and password values are required to complete this sign-on action. The response also includes the links to the options for the next operation in the flow, such as the usernamePassword.check action, which submits the user’s username and password to the authorization server.