Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JWT detection #20

Closed
FranklinYu opened this issue Oct 30, 2017 · 2 comments
Closed

JWT detection #20

FranklinYu opened this issue Oct 30, 2017 · 2 comments

Comments

@FranklinYu
Copy link

FranklinYu commented Oct 30, 2017

Currently if header has Authorization: Bearer it would say "JWT detected" (I believe the logic is here), but RFC 6750 doesn't require Bearer Token to be JWT (for example some Google API doesn't use JWT as Bearer Token). It might be better to label the request as "JWT detected" only when Bearer Token is valid JWT.

ozzi- added a commit that referenced this issue Oct 31, 2017
…d claims. improved authorization header detection - fixing #20. unit tests!
@ozzi-
Copy link
Owner

ozzi- commented Oct 31, 2017

@FranklinYu
Copy link
Author

Works great! Thank a lot man

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants