Authenticator oauth2_introspection only works if token_type returned is an "access_token" #553
Labels
bug
Something is not working.
good first issue
A good issue to tackle when being a novice to the project.
help wanted
We are looking for help on this one.
Milestone
Describe the bug
When the introspect URL returns a token_type that is not an
access_token
, Oathkeeper throws an exception:This error is related to this validation.
Reproducing the bug
Steps to reproduce the behavior:
Server logs
Expected behavior
It should accept other token_types instead of works only with access_token.
Environment
Additional context
If the solution is simple like remove that validation or validate the
token_type
accross a few values, I could open a PR for it. I have read RFC and I didn't find what are the expected values or if there are any.The text was updated successfully, but these errors were encountered: