mirror of
https://github.com/bitwarden/server.git
synced 2025-05-22 12:04:27 -05:00
fix internalidentity setting
This commit is contained in:
parent
beaa059888
commit
ed81f3874b
@ -180,7 +180,7 @@ namespace Bit.Api
|
|||||||
{
|
{
|
||||||
Authority = globalSettings.BaseServiceUri.InternalIdentity,
|
Authority = globalSettings.BaseServiceUri.InternalIdentity,
|
||||||
AllowedScopes = new string[] { "api" },
|
AllowedScopes = new string[] { "api" },
|
||||||
RequireHttpsMetadata = false && !env.IsDevelopment(),
|
RequireHttpsMetadata = !env.IsDevelopment() && globalSettings.BaseServiceUri.InternalIdentity.StartsWith("https"),
|
||||||
ApiName = "api",
|
ApiName = "api",
|
||||||
NameClaimType = ClaimTypes.Email,
|
NameClaimType = ClaimTypes.Email,
|
||||||
// Suffix until we retire the old jwt schemes.
|
// Suffix until we retire the old jwt schemes.
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
"vault": "http://localhost:4001",
|
"vault": "http://localhost:4001",
|
||||||
"api": "http://localhost:4000",
|
"api": "http://localhost:4000",
|
||||||
"identity": "http://localhost:33656",
|
"identity": "http://localhost:33656",
|
||||||
"identityInternal": "http://localhost:33656"
|
"internalIdentity": "http://localhost:33656"
|
||||||
},
|
},
|
||||||
"sqlServer": {
|
"sqlServer": {
|
||||||
"connectionString": "SECRET"
|
"connectionString": "SECRET"
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
"vault": "http://localhost:4001",
|
"vault": "http://localhost:4001",
|
||||||
"api": "http://localhost:4000",
|
"api": "http://localhost:4000",
|
||||||
"identity": "http://localhost:33656",
|
"identity": "http://localhost:33656",
|
||||||
"identityInternal": "http://localhost:33656"
|
"internalIdentity": "http://localhost:33656"
|
||||||
},
|
},
|
||||||
"sqlServer": {
|
"sqlServer": {
|
||||||
"connectionString": "SECRET"
|
"connectionString": "SECRET"
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
"vault": "http://localhost:4001",
|
"vault": "http://localhost:4001",
|
||||||
"api": "http://localhost:4000",
|
"api": "http://localhost:4000",
|
||||||
"identity": "http://localhost:33656",
|
"identity": "http://localhost:33656",
|
||||||
"identityInternal": "http://localhost:33656"
|
"internalIdentity": "http://localhost:33656"
|
||||||
},
|
},
|
||||||
"sqlServer": {
|
"sqlServer": {
|
||||||
"connectionString": "SECRET"
|
"connectionString": "SECRET"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user