Purpose

The CIAM Plus - Change Password - Subflow displays a password reset form, letting users enter their current password and enter and verify a new password. If the new passwords match, the user's password is updated in PingOne.

Structure

This flow is divided into sections using teleport nodes:

User Enter Password
Presents the user with an HTML password reset form. The flow then progresses to the Update Password section.
Update Password
Compares the new password and confirmed password. If they match, a PingOne node updates the user's password. The flow then either displays a success message for the user or progresses to the Return Success section, depending on the value of the showSuccessMessage input.
Return Success
Sends a JSON success message.
Return Error
Sends a JSON error message.

Input schema

This flow has the following inputs.

Input Name Required? Description

userID

Yes

The user ID of the current user.

showSuccessMessage

No

A boolean that indicates whether a success message should be displayed after the user's password has been changed.

ciam_companyLogo

No

The company logo.

Used only when the main flow was launched using the widget.

emailAddress

No

The user's email address.

Output schema

This flow has the following outputs.

Output Name Description

ciam_subflowResult

The result status of the flow.

ciam_errorMessage

The error message to display in the parent flow.

Variables

This flow uses the following variables.

Variable Name Description

ciam_logoStyle

The HTML style to use for your company logo.

ciam_logoUrl

The URL for your company logo.

ciam_companyName

Displays the name of your company.