openshift/osin

Revoke token

alexandrevicenzi opened this issue · 6 comments

Hi,

I was reading the docs, looking into the code and examples and I haven't found an example showing how to revoke a token.

Revoke a token should be implemented by osin or someone that is using osin to build a OAuth 2 provider?

If so, is there any example out there? The RFC doesn't say much about revoking a token.

Yes, revoking a token is outside the scope of the RFC, so you should do it
directly at the database.

On Fri, Jun 3, 2016 at 9:09 AM, Alexandre Vicenzi notifications@github.com
wrote:

Hi,

I was reading the docs, looking into the code and examples and I haven't
found an example showing how to revoke a token.

Revoke a token should be implemented by osin or someone that is using osin
to build a OAuth 2 provider?

If so, is there any example out there? The RFC doesn't say much about
revoking a token.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/RangelReale/osin/issues/121, or mute the thread
https://github.com/notifications/unsubscribe/AAWkeYArIkuKeGFC4juCyUmr6HulVvuZks5qIBmKgaJpZM4IteDg
.

But the addition has a very small RFC perhaps it can be added? https://tools.ietf.org/html/rfc7009
It would make the library so much more user friendly without sacrificing it's focused scope imho.

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

/lifecycle frozen

stlaz commented

/close
As per #121 (comment), the extension RFC is outside the core, which is what this library implements, but it should still be possible to create a custom AS implementation based on this library and provide the requested functionality.

@stlaz: Closing this issue.

In response to this:

/close
As per #121 (comment), the extension RFC is outside the core, which is what this library implements, but it should still be possible to create a custom AS implementation based on this library and provide the requested functionality.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.