---
title: "Task 2: Test The Workflow"
description: Test the user registration self-service flow by registering a new user during sign-on and verifying the account
component: pingone-api
page_id: pingone-api:workflow-library:platform-sso-and-authorization/openid-connect-oidc/user-registration-self-service-flow/test-the-workflow/index
canonical_url: https://developer.pingidentity.com/pingone-api/workflow-library/platform-sso-and-authorization/openid-connect-oidc/user-registration-self-service-flow/test-the-workflow/index.html
llms_txt: https://developer.pingidentity.com/pingone-api/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: 2026-08-11
section_ids:
  what-youll-do: What you'll do
---

# 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](../../../../../getting-started/simple-sso-workflow/index.html), 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. |

[Run in Postman](https://god.gw.postman.com/run-collection/3468883-c5da0a9d-6145-4721-a031-1ee60b6bffa6?action=collection%2Ffork\&source=rip_markdown\&collection-url=entityId%3D3468883-c5da0a9d-6145-4721-a031-1ee60b6bffa6%26entityType%3Dcollection%26workspaceId%3D3550b170-7818-4801-b1eb-dcb7b3f64263#?env%5BPingOne%20Workflow%20Library%20Template%20%28release%3A%202025-04-17%29%5D=W3sia2V5IjoidGxkIiwidmFsdWUiOiJjb20iLCJlbmFibGVkIjp0cnVlLCJ0eXBlIjoiZGVmYXVsdCJ9LHsia2V5IjoiYXV0aFBhdGgiLCJ2YWx1ZSI6Imh0dHBzOi8vYXV0aC5waW5nb25lLnt7dGxkfX0iLCJlbmFibGVkIjp0cnVlLCJ0eXBlIjoiZGVmYXVsdCJ9LHsia2V5IjoiYXBpUGF0aCIsInZhbHVlIjoiaHR0cHM6Ly9hcGkucGluZ29uZS57e3RsZH19L3YxIiwiZW5hYmxlZCI6dHJ1ZSwidHlwZSI6ImRlZmF1bHQifSx7ImtleSI6ImFkbWluRW52SUQiLCJ2YWx1ZSI6IiIsImVuYWJsZWQiOnRydWUsInR5cGUiOiJkZWZhdWx0In0seyJrZXkiOiJhZG1pbkFwcElEIiwidmFsdWUiOiIiLCJlbmFibGVkIjp0cnVlLCJ0eXBlIjoiZGVmYXVsdCJ9LHsia2V5IjoiYWRtaW5BcHBTZWNyZXQiLCJ2YWx1ZSI6IiIsImVuYWJsZWQiOnRydWUsInR5cGUiOiJkZWZhdWx0In0seyJrZXkiOiJlbnZJRCIsInZhbHVlIjoiIiwiZW5hYmxlZCI6dHJ1ZSwidHlwZSI6ImRlZmF1bHQifV0=)
