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

Add support for introspection endpoint #1

Closed
jmiddleton opened this issue May 24, 2018 · 3 comments
Closed

Add support for introspection endpoint #1

jmiddleton opened this issue May 24, 2018 · 3 comments

Comments

@jmiddleton
Copy link

The token introspection endpoint is generally intended for identifier-based access token. It would be good to have this feature as part of the implementation. More details can be found here: https://connect2id.com/products/server/docs/api/token-introspection#introspect-endpoint

@lcrilly
Copy link
Contributor

lcrilly commented May 24, 2018

Thanks. This is already under consideration. Can you share details of your use case and why this is important?

@jmiddleton
Copy link
Author

I was thinking in a way to check that the token is still valid i.e. it hasn't been revoked by the idp in case of an identity theft or any other reason where the idp blocks the token. Anyway, this might not be critical if we have short-live tokens.

Having said that, I did some more research and the introspection endpoint seems more relevant in OAuth 2.0 where we have an access token and the only way to retrieve the status of the token is using this endpoint.

@lcrilly
Copy link
Contributor

lcrilly commented Jun 11, 2019

A solution for OAuth 2.0 token introspection is documented here:
https://www.nginx.com/blog/validating-oauth-2-0-access-tokens-nginx/

It is possible to combine this with OpenID Connect by using auth_jwt and auth_request in the same location.

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

2 participants