Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement optional authorization for token introspection endpoint #2

Open
NickUfer opened this issue Oct 12, 2021 · 0 comments
Open

Comments

@NickUfer
Copy link
Owner

NickUfer commented Oct 12, 2021

The RFC for the OAuth 2.0 Token Introspection states that the introspect endpoint MUST have some form authorization:

To prevent token scanning attacks, the endpoint MUST also require
   some form of authorization to access this endpoint, such as client
   authentication as described in OAuth 2.0 [RFC6749] or a separate
   OAuth 2.0 access token such as the bearer token described in OAuth
   2.0 Bearer Token Usage [RFC6750].

Some certified OAuth2 authorization servers have the introspect endpoint exposed on a different "internal" port (like ORY Hydra) which should be guarded by own measures. Some authorization servers use specific authorized clients for that.

Basic authorization should at least be supported.
Possible extra would be client credentials Bearer token authorization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant