How to set up Password Invalidator

This feature invalidates the user's initial password after their first login, prompting them to create a new password. This measure ensures that only the user is aware of their password.

To set up the Password Invalidator feature, do the following steps -

  1. Click on Events

  1. Click on Config.

Field Name
Mandatory (Yes/No)
Field Type
Description

Yes

Event Listeners

Dropdown

Select the required event or action that is to be added as part of configuration

No

Save Events

Toggle

Keep it ON to retain a record of various events, which can be chosen and utilized as needed.

  1. In the Event Listeners field, add - scheduler-listener.

The scheduler operates on a 24-hour cycle. It checks user passwords and if any password is nearing expiration, it sends out an email reminder prompting users to update their passwords.

  1. Go to Realm Settings.

  1. Go to Localization.

Field Name
Field Type
Description

Locale

Dropdown

Select the locale on which you want to work on

locale

Text

Provide any name to create the locale which is required

  1. Provide any name for the locale and click on Create. For example - Password-invalidation.

  1. Mention the key as - check-password-expiry and value as false.

Field Name
Field Type
Description

Key

Text

Enter the attribute that you want to define within this locale

Value

Text

Enter the value that needs to be defined for that attribute

  1. Click on Save.

  2. Click on the dropdown for Locale and select Password-invalidation.

A table will be displayed containing the Key-Value pairs and the Actions to Edit or Delete it.

  1. Click on Add localization text.

  2. Provide the Key as password-warning-time and any number as Value, example - 7.

Field Name
Field Type
Description

Key

Text

Enter the attribute that you want to define within this locale

Value

Text

Enter the value that needs to be defined for that attribute

  1. Click on Save.

  2. Again click on the dropdown for Locale and select Password-invalidation.

  1. Again click on Add localization text.

Field Name
Field Type
Description

Key

Text

Enter the attribute that you want to define within this locale

Value

Text

Enter the value that needs to be defined for that attribute

  1. Enter the Key as password-warning-time-unit and Value as required. Value can be minutes, hours, days.

  2. Click on Save.

  1. Again click on Add localization text.

Field Name
Field Type
Description

Key

Text

Enter the attribute that you want to define within this locale

Value

Text

Enter the value that needs to be defined for that attribute

  1. Enter the Key as api-base-url and Value as required.

  2. Click on Save.

  1. Click on Edit Action for check-password-expiry.

  2. Change the Value to true from false.

  1. Click on Save.

Last updated