jwtauthenticator icon indicating copy to clipboard operation
jwtauthenticator copied to clipboard

Accept Bearer or bearer authentication scheme

Open pzingg opened this issue 7 years ago • 0 comments

Other applications that I am using require the Authorization header to have the form Authorization: Bearer token, and this is what the RFC for OAuth 2.0 says is the correct spelling. This pull request allows either the lowercase bearer scheme (existing code) or the capitalized Bearer scheme (which is expected by RFC 6750).

See discussion at https://sgeb.io/posts/2015/05/fix-go-oauth2-case-sensitive-bearer-auth-headers/

pzingg avatar Sep 12 '18 02:09 pzingg