The introspection response currently returns as token_type the value of the token_type_hint parameter (defaulted to "refresh_token"). However, RFC7662, Section 2.2 prescribes this to be the same kind of token_type as in the responses from the token endpoint (which is "Bearer" by default), which is the one stored as part of the token's TToken instance.
The introspection response currently returns as
token_type
the value of thetoken_type_hint
parameter (defaulted to "refresh_token"). However, RFC7662, Section 2.2 prescribes this to be the same kind oftoken_type
as in the responses from the token endpoint (which is"Bearer"
by default), which is the one stored as part of the token'sTToken
instance.