mirror of
https://github.com/bitwarden/server.git
synced 2025-04-18 11:38:15 -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 =>
|
.AddOpenIdConnect("sso", "Single Sign On", options =>
|
||||||
{
|
{
|
||||||
options.Authority = globalSettings.BaseServiceUri.Sso;
|
options.Authority = globalSettings.BaseServiceUri.Sso;
|
||||||
options.MetadataAddress = globalSettings.BaseServiceUri.InternalSso;
|
options.MetadataAddress = globalSettings.BaseServiceUri.InternalSso +
|
||||||
|
"/.well-known/openid-configuration";
|
||||||
options.RequireHttpsMetadata = !Environment.IsDevelopment() &&
|
options.RequireHttpsMetadata = !Environment.IsDevelopment() &&
|
||||||
globalSettings.BaseServiceUri.InternalIdentity.StartsWith("https");
|
globalSettings.BaseServiceUri.InternalIdentity.StartsWith("https");
|
||||||
options.ClientId = "oidc-identity";
|
options.ClientId = "oidc-identity";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user