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:
parent
f831e1f0f0
commit
5a5b9163bf
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user