Identity verification
Magento asks for the current password before some changes. The module also asks for it before each change of an SSO record. An admin user that SSO manages has no password. This user signs in again at the identity provider instead. This new sign-in is a re-authentication.
Changes that need identity verification
Section titled “Changes that need identity verification”The module adds identity verification to these changes:
- Save, delete, activate or deactivate an identity provider.
- Save, verify or delete a domain.
- Generate, save, activate, deactivate or delete a service provider key.
Magento itself asks for the current password before these changes:
- A save of My Account.
- A save or a delete of an admin user.
- A save of a user role.
- A save of an integration.
For an SSO-managed user, the module replaces the password check of each of these changes with a re-authentication.
Verify with a password
Section titled “Verify with a password”An admin user that SSO does not manage enters their password in Your Password. This field is in the Current User Identity Verification fieldset, or in a dialog of the grid pages.
Verify with the identity provider
Section titled “Verify with the identity provider”
-
Make your change in the form.
-
Click Verify with Your Identity Provider. A popup window opens the IdP.
-
If the browser blocks the popup, allow popups for the admin site. Then click the button again.
-
Sign in at the IdP.
-
Wait until the form shows “Your identity is verified.”
-
Save the form.
The proof of the re-authentication is valid for 5 minutes and for one change. For the next change, verify your identity again.
What the module checks
Section titled “What the module checks”A re-authentication passes all the checks of a login. In addition, these conditions must be true:
- The response answers the re-authentication request of the same admin user.
- The response names the same admin user, and that user may still log in.
- The authentication at the IdP is recent: 5 minutes or less, plus a clock skew of 3 minutes.
The last condition is necessary because an IdP can answer from its own session and ignore the request for a new sign-in.
If you logged in with a phishing-resistant method, the re-authentication must also use a phishing-resistant method. Otherwise the form shows: “You logged in with a phishing-resistant method, so you must verify your identity with one too.” For the phishing-resistant methods, refer to Two-factor authentication.
A re-authentication logs nobody in. It creates, links and changes no admin user. The login log records each attempt as a re-authentication.
Failed checks
Section titled “Failed checks”As in Magento, too many failed identity checks lock the admin user, and the module then logs the user out.