1
0
mirror of https://github.com/bitwarden/server.git synced 2025-02-27 03:41:30 +01:00

fix internalidentity setting

This commit is contained in:
Kyle Spearrin 2017-08-09 22:56:28 -04:00
parent beaa059888
commit ed81f3874b
4 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

@ -8,7 +8,7 @@
"vault": "http://localhost:4001",
"api": "http://localhost:4000",
"identity": "http://localhost:33656",
"identityInternal": "http://localhost:33656"
"internalIdentity": "http://localhost:33656"
},
"sqlServer": {
"connectionString": "SECRET"

View File

@ -8,7 +8,7 @@
"vault": "http://localhost:4001",
"api": "http://localhost:4000",
"identity": "http://localhost:33656",
"identityInternal": "http://localhost:33656"
"internalIdentity": "http://localhost:33656"
},
"sqlServer": {
"connectionString": "SECRET"

View File

@ -8,7 +8,7 @@
"vault": "http://localhost:4001",
"api": "http://localhost:4000",
"identity": "http://localhost:33656",
"identityInternal": "http://localhost:33656"
"internalIdentity": "http://localhost:33656"
},
"sqlServer": {
"connectionString": "SECRET"