1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-02 00:22:50 -05:00

Fixes for identity server

This commit is contained in:
Kyle Spearrin
2017-03-09 20:30:19 -05:00
parent be5f388fa1
commit 9fe28419a1
3 changed files with 3 additions and 2 deletions

View File

@ -260,7 +260,7 @@ namespace Bit.Api
AllowedScopes = new string[] { "api" },
Authority = env.IsProduction() ? "https://api.bitwarden.com" : "http://localhost:4000",
RequireHttpsMetadata = env.IsProduction(),
ApiName = "Vault API",
ApiName = "api",
NameClaimType = ClaimTypes.Email,
// Version "2" until we retire the old jwt scheme and replace it with this one.
AuthenticationScheme = "Bearer2",