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:
@ -87,9 +87,7 @@ namespace Bit.Identity
|
|||||||
.AddAuthentication()
|
.AddAuthentication()
|
||||||
.AddOpenIdConnect("sso", "Single Sign On", options =>
|
.AddOpenIdConnect("sso", "Single Sign On", options =>
|
||||||
{
|
{
|
||||||
options.Authority = globalSettings.BaseServiceUri.Sso;
|
options.Authority = 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";
|
||||||
|
Reference in New Issue
Block a user