OOTB - Password Reset - Main Flow
The OOTB - Password Reset - Main Flow checks whether a user exists and has a password before letting them change their password. It can only be launched using the widget.
Purpose
The OOTB - Password Reset - Main Flow verifies that a user exists and has a currently-valid password. If the user does have a valid password, it invokes the CIAM-Passwordless-Protect-Change-Password-Subflow flow so that the user can change their password.
Structure
This flow is divided into sections using teleport nodes:
- Change Password
-
Uses PingOne nodes to check for a valid user session and retrieve user data for the current user. It then uses a function node to check if the user currently has a password. If so, the flow invokes the CIAM-Passwordless-Protect-Change-Password-Subflow flow, then the flow progresses to the Return Success section.
- Return Error
-
Displays an error message and sends a JSON error response.
- Return Success
-
Sends a JSON success message.
Input schema
This flow has the following inputs.
Input Name | Description |
---|---|
|
The username of the user whose password is being verified. |
Output schema
This flow has the following outputs.
Output Name | Description |
---|---|
|
The result status of the flow. |
|
The error message to display in the parent flow. |
|
The error code to display in the parent flow. |
Variables
This flow uses the following variables.
Variable Name | Description |
---|---|
|
The number of minutes after which a session is no longer valid. |
|
The HTML style to use for your company logo. |
|
The URL for your company logo. |
|
Displays the name of your company. |