Skip to content

Dysfunctional SSO buttons in "Confirm your identity" modal #58

Description

@redburn

Describe the bug

SSO login buttons are injected into Craft's "Confirm your identity" modal, where they don't work. Clicking them either does nothing (observed when setting up MFA for a user) or discards your form input when you return to Craft (observed when creating a new user account from the CP). These actions need to be completed with the user's actual Craft password, they apparently can't be completed via SSO.

Unless that can be changed, I would suggest removing the SSO icons from "Confirm your identity" modals.

Image

Steps to reproduce

  1. Set up SSO, e.g. with Microsoft Entra
  2. Signing into Craft works fine
  3. Create a new user from the CP, or set up MFA as a user
  4. Receive a "Confirm your identity" modal from Craft
  5. Click a SSO icon that appears under the password form

Craft CMS version

5.10.13.2

Plugin version

2.0.15

Multi-site?

No

Additional context

Microsoft Entra enabled as provider, but probably provider-agnostic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions