Gift Card Redemption - Change Password - Subflow
The Gift Card Redemption - Change Password - Subflow lets users change their passwords.
Purpose
The Gift Card Redemption - 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 template that that either displays a password reset form or displays a success message depending on the show success message value. 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 returns to the beginning of the User Enter Password section or progresses to the Return Success section, depending on the value of the
showSuccessMessage
input. - Return Success
-
Sends a JSON success message.
- Return Error
-
Uses a function node to enrich the error details, then sends an error JSON response indicating that the flow completed unsuccessfully.
Input schema
This flow has the following inputs.
Input name | Required | Description |
---|---|---|
|
Yes |
The current user’s PingOne user ID. |
|
No |
The company logo. Used only when the main flow was launched using a redirect. |
|
No |
Indicates whether a success message should be displayed after the user accepts the agreement. |