How to set up Password Invalidator
Last updated
Last updated
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 -
Click on Events
Click on Config.
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.
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.
Go to Realm Settings.
Go to Localization.
Locale
Dropdown
Select the locale on which you want to work on
locale
Text
Provide any name to create the locale which is required
Provide any name for the locale and click on Create. For example - Password-invalidation.
Mention the key as - check-password-expiry and value as false.
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
Click on Save.
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.
Click on Add localization text.
Provide the Key as password-warning-time and any number as Value, example - 7.
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
Click on Save.
Again click on the dropdown for Locale and select Password-invalidation.
Again click on Add localization text.
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
Enter the Key as password-warning-time-unit and Value as required. Value can be minutes, hours, days.
Click on Save.
Again click on Add localization text.
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
Enter the Key as api-base-url and Value as required.
Click on Save.
Click on Edit Action for check-password-expiry.
Change the Value to true from false.
Click on Save.