-
-
Notifications
You must be signed in to change notification settings - Fork 162
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
OAuth 2.0 Token Introspection (RFC 7662) #97
Comments
Hey, this seems like a reasonable feature to incorporate into the library. There's some precedent for including closely-related RFCs like PKCE directly into this crate. I think the inclusion criteria should be that:
In this case, I think both criteria apply, so I'd be open to incorporating it. By contrast, something like OpenID Connect is far more complex, so I put that into a separate crate (https://github.com/ramosbugs/openidconnect-rs) built on top of this one. For clarity, I think it makes sense to incorporate the token introspection client request/response from that RFC, but not any functionality that directly introspects into JWTs or anything like that. From glancing at the RFC, I think we can incorporate this into the crate most cleanly by:
|
I finally find some time to implement this and create a PR (See #117)
|
I'm in the need for OAuth 2.0 token introspection (RFC 7662).
I want to implement this feature but I'm not sure if you guys feel like it belongs here. Since the readme states that this library is an
strongly-typed implementation of OAuth2 (RFC 6749)
.I also realize there is a library available already (tokkit), but personally I feel like it would be more convenient to have all these features in one library.
What do you guys think. Should this RFC be added to this library? Should it be added by default? Should this feature be added behind a feature flag etc?
Thanks in advance!
The text was updated successfully, but these errors were encountered: