Version Affected: All
Overview
After a password reset realm is moved from the Classic Experience to the New Experience, users whose password has expired, or whose account is locked, can no longer use the realm to reset their password. They are stopped with an error before they reach the page where they set a new password.
When a realm is moved to the New Experience, it is given a New Experience data store and authentication policy, and a setting on either one can stop these users. There are two possible causes, and a realm can have both, so check each one. Each cause listed below gives the symptom that identifies it.
In this article
- Cause 1: Allow Advanced User Checks Is On for the Realm's Data Store
A user whose account is locked is stopped as soon as they enter their username, with an account message such as Account Is Locked.
- Cause 2: The Realm's Policy Asks for the Password
A user whose password has expired is stopped when the realm asks for their password, and never reaches the page where they set a new one.
Cause 1: Allow Advanced User Checks Is On for the Realm's Data Store
In the New Experience, a directory data store, such as Active Directory, has an Allow Advanced User Checks setting in its Advanced Settings, and it is on by default. When it is on, the SecureAuth Identity Platform (IdP) checks the user's account in the directory as soon as they enter their username. If the account is locked or disabled, the realm stops there with Account Is Locked or Account Is Disabled, so the user never reaches the password reset page.
A Classic realm has its own setting for this on its Data tab, Advanced AD User Check, which may have been set to False. Once the realm is moved to the New Experience, it uses the setting of the data store it is mapped to instead.
Resolution 1:
To resolve this, map the reset realm to a data store that has Allow Advanced User Checks turned off. Other realms that use the same data store may need the check: a Help Desk realm, for example, uses it to show whether an account is locked. To leave them as they are, give the reset realm its own copy of the data store:
- In the New Experience, go to Resources > Application Manager, or Resources > Internal Application Manager for an internal realm, and open the password reset realm. Note the data store selected under Identity Source (called Data Stores in earlier versions).
- Go to Identity Management > Identity Sources (called Data Stores in earlier versions).
- In the list of data stores, click the Copy icon for the data store the reset realm uses. The copy opens with the same settings, named Copy of followed by the original name.
- Rename the copy so it is clear that it belongs to the reset realm, and enter the service account password again.
- Under Advanced Settings, turn off Allow Advanced User Checks.
- Continue to the property mappings, check them, and save the new data store.
- Go back to the password reset realm's application, replace the original data store under Identity Source with the new copy, and save.
- Enter the username of a locked account on the reset realm. The realm should no longer show Account Is Locked.
If no other realm uses the data store, you can instead open it, turn off Allow Advanced User Checks under its Advanced Settings, and save.
If users reach the reset realm through another IdP server, such as an external server in a demilitarized zone (DMZ), that server's realm has its own data store. A DMZ (SecureAuth Connection) data store looks users up through a realm on the internal server, so the setting that applies is the one on that internal realm's data store. If the external realm uses one, connect that DMZ data store to an internal realm whose data store has Allow Advanced User Checks turned off. If the external realm's data store connects to the directory directly, change that data store as above.
Cause 2: The Realm's Policy Asks for the Password
In the New Experience, a realm's sign-in steps are set by its authentication policy, under Login Workflow. If the workflow includes a password step, such as Username | MFA Method | Password or Username & Password | MFA Method, a user whose password has expired is stopped at that step and never reaches the page where they set a new password. A password reset realm doesn't need the current password: the user proves who they are with an MFA method, then sets a new password.
When a realm is moved to the New Experience, it is assigned a policy, which may be one that other realms use and that asks for the password.
Resolution 2:
To resolve this, give the reset realm its own policy with no password step. Don't change a policy that other realms use, because they would stop asking for the password too.
- In the New Experience, go to Resources > Application Manager, or Resources > Internal Application Manager for an internal realm, and open the password reset realm. Note the policy selected under Authentication Policy.
- Go to Authentication > Policies.
- Copy that policy, and give the copy a name that shows it belongs to the reset realm.
- Under Login Workflow, select Passwordless. This asks for the username and then an MFA method, with no password step.
- Under Authentication Rules, check that no rule is set to Skip MFA. The Special Considerations section below explains why.
- Save the policy.
- Go back to the password reset realm's application, select the new policy under Authentication Policy, and save.
- Test the reset realm with a user whose password has expired. They should be asked for their username and an MFA method, then reach the page where they set a new password.
If users reach the reset realm through another IdP server, such as an external server in a DMZ, that server's realm has its own policy. Make the same change there.
Special Considerations
With no password step, the MFA method is the only thing that proves who the user is. Make sure the reset realm's policy prompts for MFA on every sign-in. If a rule under its Authentication Rules is set to Skip MFA, anyone who matches that rule could reset another user's password knowing only that user's username.
SecureAuth Knowledge Base Articles provide information based on specific use cases and may not apply to all appliances or configurations. Be advised that these instructions could cause harm to the environment if not followed correctly or if they do not apply to the current use case.
Customers are responsible for their own due diligence prior to utilizing this information and agree that SecureAuth is not liable for any issues caused by misconfiguration directly or indirectly related to SecureAuth products.
Comments
0 comments
Please sign in to leave a comment.