I’ve implemented a work around so this isn’t a huge issue, however it seems like the standard is that the bearer token type should be case insensitive according to the author of the library I’m using. https://github.com/panva/node-openid-client/issues/248 So I thought I’d post about it.
The token_type field is case insensitive, so Twitch could send Bearer, bearer, BEARER, BeArEr and all of those would be valid.
The Authorization Header IS case sensitive though, and both the specifications for the the Bearer token scheme and all Twitch examples/guides show the header using Bearer .