Step 4: Submit username and password
POST {{authPath}}/{{envID}}/flows/{{flowID}}
The flow status specified in Step 3 calls the action service to present the appropriate input form to users, which in this example shows fields to submit a username and password. The username and password here correspond to the end-users of the applications and services provided by the PingOne platform. Use GET Read User or Users to find an existing user, or locate them in your PingOne admin console Directory.
You can use the POST /{{envID}}/flows/{{flowID}}
endpoint to initiate the usernamePassword.check
action. This operation uses the application/vnd.pingidentity.usernamePassword.check+json
custom media type as the content type in the request header when there is no user associated with the current flow.
Request Body
{"username"=>"{{username}}", "password"=>"{{password}}"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Cookie | string | Use this for localhost |