How to remove the sign-in options from the login page

Narendrn Balachandran 101 Reputation points
2021-04-19T03:08:03.553+00:00

Hi,

Its really annoying the Sig-in options button showing when we try to login to our enterprise apps. And it shows GitHub as an option to sign-in. Does anyone know how to disable this?

88876-image.png

88858-image.png

Regards,

Narendrn

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,957 questions
0 comments No comments
{count} votes

Accepted answer
  1. AmanpreetSingh-MSFT 56,356 Reputation points
    2021-04-19T06:49:34.517+00:00

    Hi @Narendrn Balachandran · Thank you for reaching out.

    Unfortunately, there is no straight forward way to remove sign-in options from login screen. However, for this purpose, you can use the Oauth parameters login_hint and hsu.

    • The login_hint=your_username@your_domain.com parameter pre-populates the username and directly take you to the enter password screen.
    • The hsu=1 parameter removes the "Sign in with another account" link from the enter password screen. That way users won't get an option to revert back to the sign-in page and select sign-in options.

    As documented here, login_hint: You can use this parameter to pre-fill the username and email address field of the sign-in page for the user, if you know the username ahead of time. Often, apps use this parameter during reauthentication, after already extracting the username from an earlier sign-in by using the preferred_username claim.

    -----------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


1 additional answer

Sort by: Most helpful
  1. Lau Lautrup 1 Reputation point
    2021-09-01T07:58:49.263+00:00

    @AmanpreetSingh-MSFT As far as I can see I can only use the parameters if using OpenID / Oauth. Do you know how to do it if you use the saml protocol?

    0 comments No comments