mikenicholson / passport-jwt

Passport authentication using JSON Web Tokens
MIT License
1.96k stars 214 forks source link

Changed scheme comparison to be case insensitive #118

Closed flouc001 closed 7 years ago

flouc001 commented 7 years ago

The authentication scheme type comparison should be case insensitive. It's detailed in the OAuth 2.0 RFC, see token_type.

flouc001 commented 7 years ago

This should 'fix' issue #117.

mikenicholson commented 7 years ago

Merged. In the future please add tests to validate new behavior.