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

do things when not dev

This commit is contained in:
Kyle Spearrin
2017-07-14 13:29:52 -04:00
parent 25fccfc3fd
commit 64212a1874
3 changed files with 7 additions and 7 deletions

View File

@ -180,7 +180,7 @@ namespace Bit.Api
{
Authority = authority,
AllowedScopes = new string[] { "api" },
RequireHttpsMetadata = env.IsProduction(),
RequireHttpsMetadata = !env.IsDevelopment(),
ApiName = "api",
NameClaimType = ClaimTypes.Email,
// Suffix until we retire the old jwt schemes.