From 430f8439c5325c56e3febdd318171bdbb4c5aaa3 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sat, 6 May 2017 09:11:38 -0400 Subject: [PATCH] check bearer3 scheme first --- src/Api/Startup.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Api/Startup.cs b/src/Api/Startup.cs index 1a653d1ea4..492f3d0e87 100644 --- a/src/Api/Startup.cs +++ b/src/Api/Startup.cs @@ -162,10 +162,10 @@ namespace Bit.Api // Add IdentityServer to the request pipeline. app.UseIdentityServer(); - app.UseIdentityServerAuthentication( - GetIdentityOptions(env, IdentityServerAuthority(env, "api", "4000"), "2")); app.UseIdentityServerAuthentication( GetIdentityOptions(env, IdentityServerAuthority(env, "identity", "33656"), "3")); + app.UseIdentityServerAuthentication( + GetIdentityOptions(env, IdentityServerAuthority(env, "api", "4000"), "2")); // Add Jwt authentication to the request pipeline. app.UseJwtBearerIdentity();