Step 11: Submit login credentials
POST {{authPath}}/{{envID}}/flows/{{flowID}}
This example shows the POST /{{envID}}/flows/{{flowID}} operation to initiate the username and password check. 
To specify the flow's usernamePassword.check action, the application/vnd.pingidentity.usernamePassword.check+json custom media type must be specified in the HTTP Content-Type header. 
Note: For authorization and flow requests, the PingOne endpoint domain is https://auth.pingone.com/ for North America.
In this request:
- {{envID}}is your environment ID.
- {{flowID}}is the flow ID you used in the previous step.
- The response returns flow information, including the flow - statusproperty, which specifies the- COMPLETEflow state. This flow state indicates that you have completed the sign-on flow steps successfully and can return to the PingOne authorization server to get a token.
See the following topics to learn more:
Request Body
{"username"=>"{{samlUsername}}", "password"=>"{{password}}"}
HEADERS
| Key | Datatype | Required | Description | 
|---|---|---|---|
| Content-Type | string |