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

use sso external URL

This commit is contained in:
Kyle Spearrin 2020-08-28 20:52:06 -04:00
parent 39df8611e1
commit f831e1f0f0

View File

@ -85,7 +85,7 @@ namespace Bit.Identity
.AddAuthentication()
.AddOpenIdConnect("sso", "Single Sign On", options =>
{
options.Authority = globalSettings.BaseServiceUri.Identity;
options.Authority = globalSettings.BaseServiceUri.Sso;
options.RequireHttpsMetadata = !Environment.IsDevelopment() &&
globalSettings.BaseServiceUri.InternalIdentity.StartsWith("https");
options.ClientId = "oidc-identity";