Task 3: Test The Workflow
The Test the Workflow endpoints perform the following actions:
-
Send an authorization request.
-
Start the device flow.
-
Perform any sign-on actions.
-
Confirm the device user code.
-
Accept the device authorization grant consent.
-
Return an access token.
The authorization and token endpoints that you’ll call to test the workflow require an application ID to complete the sign-on action. This workflow uses the ID from the application you created in the Environment Configuration collection.
What you’ll do
You will send a device authorization request and start the device authorization workflow.
-
POST request to the authorize endpoint.
-
GET request to start the device flow.
-
POST request to submit the user’s login credentials.
-
POST requests to confirm the device user code and accept the device auth grant.
-
POST request to get the access token.
|
If you choose to use an alternate application, be aware that the variables in the Postman collections point to the application ID that you created in the Environment Configuration collection. You must change these values manually either in your Postman environment or in the endpoint’s parameters to run the request using your alternate application. |