diff --git a/src/Identity/Startup.cs b/src/Identity/Startup.cs index a1b8673a7b..96f5435c8e 100644 --- a/src/Identity/Startup.cs +++ b/src/Identity/Startup.cs @@ -86,6 +86,7 @@ namespace Bit.Identity .AddOpenIdConnect("sso", "Single Sign On", options => { options.Authority = globalSettings.BaseServiceUri.Sso; + options.MetadataAddress = globalSettings.BaseServiceUri.InternalSso; options.RequireHttpsMetadata = !Environment.IsDevelopment() && globalSettings.BaseServiceUri.InternalIdentity.StartsWith("https"); options.ClientId = "oidc-identity";