[keycloak-user] oidc token_type: "bearer" vs "Bearer"

Christophe de Vienne christophe.devienne at orus.io
Thu Sep 26 08:49:23 EDT 2019


Hi everyone,

While (unsuccessfully) attempting to connect a oidc service provider, I
found out that the token_type set by keycloak is "bearer", while my
service provider expects "Bearer".

Digging the specifications it seems that "Bearer" is the right
token_type (see
https://openid.net/specs/openid-connect-core-1_0.html#TokenResponse and
https://tools.ietf.org/html/rfc6750#section-6.1.1).

Should we consider this a keycloak bug? Would a PR fixing this be accepted?

Cheers,

Christophe


More information about the keycloak-user mailing list