mirror of
https://github.com/bitwarden/server.git
synced 2025-04-08 22:58:11 -05:00
fix MetadataAddress
This commit is contained in:
parent
5a5b9163bf
commit
b848e9e22c
@ -86,7 +86,8 @@ namespace Bit.Identity
|
||||
.AddOpenIdConnect("sso", "Single Sign On", options =>
|
||||
{
|
||||
options.Authority = globalSettings.BaseServiceUri.Sso;
|
||||
options.MetadataAddress = globalSettings.BaseServiceUri.InternalSso;
|
||||
options.MetadataAddress = globalSettings.BaseServiceUri.InternalSso +
|
||||
"/.well-known/openid-configuration";
|
||||
options.RequireHttpsMetadata = !Environment.IsDevelopment() &&
|
||||
globalSettings.BaseServiceUri.InternalIdentity.StartsWith("https");
|
||||
options.ClientId = "oidc-identity";
|
||||
|
Loading…
x
Reference in New Issue
Block a user