Task 2: Test The Workflow
The Test the Workflow endpoints perform the following actions:
-
Send an authorization request.
-
Perform any registration actions.
-
Return an access token.
The authorization and token endpoints that you’ll call to test the workflow require an application ID and secret to complete the registration action. The Postman collection that accompanies this flow references the Web application that you created in Getting Started, Task 3.
What you’ll do
You will send an authorization request to start the registration workflow.
-
POST request to the authorize endpoint.
-
POST request to set the new user’s email address, username, and password.
-
POST request to submit the verification code sent to the new user’s email address.
-
POST request to get the access token.
If you haven’t completed Task 3: Create an SSO workflow, do that first.
|
If you choose to use an alternate application, be aware that the variables in the Postman collections point to the Task 3 application’s ID (and secret). You must change these values manually either in your Postman environment or in the endpoint’s URL or parameters to run the requests using your alternate application. |