-
Notifications
You must be signed in to change notification settings - Fork 14
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
IBX-5915: Added way to revoke existing token #240
Conversation
src/lib/Persistence/Legacy/Token/Gateway/Token/Doctrine/DoctrineGateway.php
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't it be simpler to delete revoked token instead?
@alongosz It would, but it is hard to predict if it will have consequences. Keep in mind we're using 3rd party Bundle and just adapting our storage. We may need, because of external code, to distinguish non-existent token from revoked access grant at some point. |
…neGateway.php Co-authored-by: Paweł Niedzielski <pawel.niedzielski@ibexa.co>
1b61832
to
c1c218c
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
v4.6
This will allow OAuth2 server implementation (but not only) to handle token revocation. Revoked token may be handled in a different way (yet behaves similar as deleted) by internal and 3rd party implementations.
Checklist:
$ composer fix-cs
).@ibexa/engineering
).