1
0
mirror of https://github.com/bitwarden/server.git synced 2025-01-22 21:51:22 +01:00

use internal sso for metadata address

This commit is contained in:
Kyle Spearrin 2020-08-28 21:14:03 -04:00
parent f831e1f0f0
commit 5a5b9163bf

View File

@ -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";