Issue description
Jwt authentication plugin not comoatible that token without Bearer
Environment
- apisix version (cmd:
apisix version): master
- OS: Linux
What's the actual result? (including assertion message & call stack if applicable)
while JWT is in the Header,it usually have a Bearer prefix
What's the expected result?
Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6...
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6...
both JWT scenarios above can be handled properly
Issue description
Jwt authentication plugin not comoatible that token without Bearer
Environment
apisix version): masterWhat's the actual result? (including assertion message & call stack if applicable)
while JWT is in the Header,it usually have a
BearerprefixWhat's the expected result?
Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6...Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6...both JWT scenarios above can be handled properly