1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 08:02:49 -05:00

revert Authority to InternalSso

This commit is contained in:
Kyle Spearrin
2020-08-31 21:03:33 -04:00
parent 1f086a1193
commit 3ad1672f8a

View File

@ -87,9 +87,7 @@ namespace Bit.Identity
.AddAuthentication()
.AddOpenIdConnect("sso", "Single Sign On", options =>
{
options.Authority = globalSettings.BaseServiceUri.Sso;
options.MetadataAddress = globalSettings.BaseServiceUri.InternalSso +
"/.well-known/openid-configuration";
options.Authority = globalSettings.BaseServiceUri.InternalSso;
options.RequireHttpsMetadata = !Environment.IsDevelopment() &&
globalSettings.BaseServiceUri.InternalIdentity.StartsWith("https");
options.ClientId = "oidc-identity";