mirror of
https://github.com/bitwarden/server
synced 2025-12-17 08:43:27 +00:00
check bearer3 scheme first
This commit is contained in:
@@ -162,10 +162,10 @@ namespace Bit.Api
|
|||||||
|
|
||||||
// Add IdentityServer to the request pipeline.
|
// Add IdentityServer to the request pipeline.
|
||||||
app.UseIdentityServer();
|
app.UseIdentityServer();
|
||||||
app.UseIdentityServerAuthentication(
|
|
||||||
GetIdentityOptions(env, IdentityServerAuthority(env, "api", "4000"), "2"));
|
|
||||||
app.UseIdentityServerAuthentication(
|
app.UseIdentityServerAuthentication(
|
||||||
GetIdentityOptions(env, IdentityServerAuthority(env, "identity", "33656"), "3"));
|
GetIdentityOptions(env, IdentityServerAuthority(env, "identity", "33656"), "3"));
|
||||||
|
app.UseIdentityServerAuthentication(
|
||||||
|
GetIdentityOptions(env, IdentityServerAuthority(env, "api", "4000"), "2"));
|
||||||
|
|
||||||
// Add Jwt authentication to the request pipeline.
|
// Add Jwt authentication to the request pipeline.
|
||||||
app.UseJwtBearerIdentity();
|
app.UseJwtBearerIdentity();
|
||||||
|
|||||||
Reference in New Issue
Block a user