Skip to main content

Password recovery

Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.
note

For organizations created after 08th March 2026, use the new flow-based password recovery experience. Refer to Password Recovery for more details.

You may enable self-service password recovery for users so that they may reset their forgotten passwords right from the login page. Users can click the Forgot password? option and choose to receive either a Link or an OTP via Email or SMS to reset the password.

To configure password recovery options,

  1. On the WSO2 Identity Platform Console, go to Login & Registration.

  2. Under Account Recovery, click on Password Recovery.

  3. Select both Email and SMS OTP or one of the options to enable them for your organization.

    Password Recovery Configuration
  4. Configure the corresponding settings.

    Email Link/OTP​

    Notify on successful recoverySpecifies whether to notify the user via an email when password recovery is successful.
    Recovery link expiry timeSpecifies the duration (in minutes) after which the email link/OTP will expire.

    SMS OTP​

    Password recovery OTP expiry timeSpecifies the duration (in minutes) after which the OTP code sent through SMS will expire.
  5. Configure the following settings if you wish to customize the OTP pattern.

    Include upper case lettersIf nothing else is selected, the code will have only upper case letters or else a combination of upper case letters and any other selected character types.
    Include lower case lettersIf nothing else is selected, the code will have only lower case letters or else a combination of lower case letters and any other selected character types.
    Include numeric charactersIf nothing else is selected, the code will have only digits or else a combination of digits and any other selected character types.
    Password recovery OTP code lengthSpecify the length of the code
    info

    Including a character set does not guarantee that at least one of those characters will be included in each OTP code.

  6. Set the following settings to configure the limitations for password recovery attempts.

    Max failed attempts countSpecifies the maximum number of incorrect entries allowed for a password recovery method.
    Max resend attempts countSpecifies the maximum number of times a user can request to resend the OTP or recovery link.
  7. Click Update once you configure the required settings.

Was this page helpful?