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

new uri settings

This commit is contained in:
Kyle Spearrin
2017-08-03 23:12:05 -04:00
parent 5deccf122a
commit ee9d8a074d
16 changed files with 92 additions and 80 deletions

View File

@ -178,9 +178,9 @@ namespace Bit.Api
{
var options = new IdentityServerAuthenticationOptions
{
Authority = globalSettings.BaseIdentityUri,
Authority = globalSettings.BaseServiceUri.InternalIdentity,
AllowedScopes = new string[] { "api" },
RequireHttpsMetadata = !env.IsDevelopment(),
RequireHttpsMetadata = false && !env.IsDevelopment(),
ApiName = "api",
NameClaimType = ClaimTypes.Email,
// Suffix until we retire the old jwt schemes.