mirror of
https://github.com/bitwarden/server.git
synced 2025-02-01 23:31:41 +01:00
check bearer3 scheme first
This commit is contained in:
parent
bf5d0f50be
commit
430f8439c5
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user