Skip to content

The admin user experience

This page tells what an admin user that SSO manages sees. Give this information to the admin users of your SSO domains.

SSO manages an admin user in these conditions:

  • A provider linked the user at an SSO login.
  • The email address of the user belongs to a verified domain. This also applies before the first SSO login.
  1. Open the admin login page.

  2. In Username, enter your email address. The password field becomes disabled.

  3. Click Single Sign-On.

  4. Sign in at your identity provider.

Magento opens the admin dashboard. If the SSO login fails, the login page shows “Single sign-on failed. Contact your administrator.” The administrator can see the reason in the login log.

The admin login page after a failed SSO login, with the error message ‘Single sign-on failed. Contact your administrator.’

The module refuses the password login of an SSO-managed user. This rule applies to the admin login form, to the admin token of the web API, and to all other code that checks the password.

  • A correct password shows: “This account signs in through single sign-on. Enter your email address to sign in.”
  • A wrong password shows the usual error of Magento. Thus the message does not tell which accounts use SSO.

The forgotten password page shows the usual message. An SSO-managed user does not get a reset link. The user gets an email that tells them to sign in through SSO. The module also clears the reset token that Magento made. For the template, refer to Email templates.

An SSO-managed user cannot change their password. The module refuses a new password on My Account, on the user edit form and on the reset link. The user edit form shows: “This admin user signs in through single sign-on. You cannot change the password of this user.”

  • The fields that the IdP manages are disabled. A notice tells the user to change them at the IdP.
  • The password fields are not on the form.
  • If a provider sets the role at each login, the role is disabled on the user edit form.
  • The identity verification uses the IdP, not a password. Refer to Identity verification.

For the list of managed fields, refer to Managed fields.

The two-factor authentication of Magento still applies after an SSO login. The exception is a phishing-resistant sign-in at the IdP. Refer to Two-factor authentication.

An SSO-managed user has no password. Thus the REST, SOAP and GraphQL APIs refuse the usual admin token request of the user. If the administrator allows it, the user can get an API token after a re-authentication. Refer to API tokens.