mirror of
https://github.com/bitwarden/server.git
synced 2025-05-29 23:34:53 -05:00
use sso external URL
This commit is contained in:
parent
39df8611e1
commit
f831e1f0f0
@ -85,7 +85,7 @@ namespace Bit.Identity
|
|||||||
.AddAuthentication()
|
.AddAuthentication()
|
||||||
.AddOpenIdConnect("sso", "Single Sign On", options =>
|
.AddOpenIdConnect("sso", "Single Sign On", options =>
|
||||||
{
|
{
|
||||||
options.Authority = globalSettings.BaseServiceUri.Identity;
|
options.Authority = globalSettings.BaseServiceUri.Sso;
|
||||||
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