Skip to main content

Password Reset

Users can reset their password with an interactive form provided by the ID service. Administrators can also initiate the password reset from management interfaces.

Resetting your password

The Password Reset form is accessible from OIDC sign-in views. The user is offered a link with a text similar to “I’ve forgotten my password” which they can use to open the form.

Login form

Using the Reset Password form

The user is asked for their sign in name, which may be their username, email address, or phone number, depending on the circumstances. The exact choice depends on which namespaces the user is expected to be in, and how they are configured. For example, when the form is accessed from a sign-in view of an application which accepts users from a single namespace, that namespace’s configuration is used.

Form for entering username or email

After entering the sign-in name, a message is sent to the user to one of their confirmed email addresses.

Email has been sent

The email contains instructions on continuing. It will have a link the user must open.

The link leads to a form where the user will enter their new password. It must meet the password requirements from their namespace and group policies.

Form for entering new password

After entering the new password the user is shown a link back to the sign-in view.

Confirmation message, password has been changed

Directing users directly to the form

It is recommended that users enter the form through the sign-in view.

However, it is possible to direct the user to the Reset Password form from external sites by constructing an URL with special query parameters and directing the user there.

Example: https://{your-id-server}/resetPassword?

Query parameterValuePurpose
unUser’s usernameValue will be pre-entered to sign-in name field.
nsUser’s namespace codeIf given, user must be in this namespace.
nsidsComma separated list of namespace codesIf given, user must be in one of given namespaces.
luLogin URLURL where user is directed after finishing or cancelling the reset password process. The URL must be in the system wide whitelist of accepted Reset Password URLs.
localePreferred locale, example: enView will open with this language selected. If not given, browser language detection is used.

Configuring the form behaviour

Form for changing password reset options

The form’s functions can be adjusted in the System Preferences / Base settings / Password Reset section.

  • You can disable password reset altogether

  • You can limit which return URI values are allowed

  • You can set an URL which is shown to the user if they use an invalid password reset link

  • You can control if namespace selection is required or not, and force a namespace if none is selected.

  • You can control if the user is told if no matching accounts were found.

Translatable texts

ViewTranslation codeText usage
Invalid reset link clickedpasswordReset.error.continueLinkCaptionWhen a “Continue” link has been configured, it will have this text.
passwordReset.error.invalidDataToken.headingWhen a reset link is re-clicked after being used or it has expired, this heading is shown
passwordReset.error.invalidDataTokenWhen a reset link is re-clicked after being used or it has expired, this text is shown
passwordReset.error.invalidLink.headingWhen a reset link with invalid parameters is clicked, this heading is shown
passwordReset.error.invalidLinkWhen a reset link with invalid parameters is clicked, this text is shown.

Initiating password reset as an administrator

An administrative user can initiate password reset by going to the Accounts view, selecting an user and choosing Actions / Request user to change password.