Normalize token_type to use capital case to make consuming the token response easier
token_type is case insensitive, and it is spec-compliant for OPs to return token_type: "bearer"
Later, when used in auth headers it is case sensitive and must be Bearer
See: https://datatracker.ietf.org/doc/html/rfc6749#section-4.1.4
Normalize token_type to use capital case to make consuming the token response easier token_type is case insensitive, and it is spec-compliant for OPs to return token_type: "bearer" Later, when used in auth headers it is case sensitive and must be Bearer See: https://datatracker.ietf.org/doc/html/rfc6749#section-4.1.4