mirror of
https://github.com/bitwarden/server
synced 2025-12-19 09:43:25 +00:00
fix internalidentity setting
This commit is contained in:
@@ -180,7 +180,7 @@ namespace Bit.Api
|
||||
{
|
||||
Authority = globalSettings.BaseServiceUri.InternalIdentity,
|
||||
AllowedScopes = new string[] { "api" },
|
||||
RequireHttpsMetadata = false && !env.IsDevelopment(),
|
||||
RequireHttpsMetadata = !env.IsDevelopment() && globalSettings.BaseServiceUri.InternalIdentity.StartsWith("https"),
|
||||
ApiName = "api",
|
||||
NameClaimType = ClaimTypes.Email,
|
||||
// Suffix until we retire the old jwt schemes.
|
||||
|
||||
Reference in New Issue
Block a user