IdentityServer4 icon indicating copy to clipboard operation
IdentityServer4 copied to clipboard

OIDC available in external authentication providers

Open vdecristofaro opened this issue 10 years ago • 3 comments

I have a single deployment of a Multitenant IDS4. On this deployment I added the chance to login locally to access management features (users, clients, etc.). This has been done by adding code like this at startup:

app.UseOpenIdConnectAuthentication( new OpenIdConnectOptions() {
    AuthenticationScheme = "oidc",
    SignInScheme = "Cookies",
    Authority = Configuration["Issuer:IssuerUri"],
    RequireHttpsMetadata = false,
    ClientId = "adminClient",
    SaveTokens = true
} );

However when I go to the login page I see that this provider is available in the list of external providers like Google

image

Is there any way to hide this?

~~Another question: is there any way to configure different External authentications for every tenant?~~

vdecristofaro avatar Nov 07 '16 15:11 vdecristofaro

Different questions - different issues.

You can hide by setting the DisplayName to empty string.

leastprivilege avatar Nov 07 '16 15:11 leastprivilege

Actually if I set DisplayName = string.Empty in OpenIdConnectOptions the button is still created. I have modified the view Login.cshtml however. Thanks.

vdecristofaro avatar Nov 07 '16 15:11 vdecristofaro

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Jan 15 '20 10:01 lock[bot]