Two-step verification setup needs an administrator
Code: mfasetupneedsadmin
On this page
Code: mfa_setup_needs_admin
- HTTP status: 403 Forbidden
- OAuth
error:access_denied - Shown to the end user: This sign-in needs two-step verification, and there is no second way to confirm it's you here. Contact your administrator to set it up.
Request-specific detail for this error is safe to show to the person signing in.
Cause
The realm requires MFA, the account has no second factor, and the sign-in proved only a password: the realm offers no emailed sign-in method (email code or link), or the account has no email address, so the mailbox cannot be proven before enrolment (issue 858). Enrolment is refused rather than started after a password alone.
Fix
Administrators: send the person an admin-issued sign-in link (it proves the mailbox, after which enrolment works), add an email address to the account, turn on an emailed sign-in method, or set the realm's MFA policy to optional.