feat: add OAuth2 token bulk revocation endpoint#18847
Conversation
This was referenced Jul 14, 2025
Member
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
7f46f86 to
cbac27e
Compare
8c29819 to
168176b
Compare
cbac27e to
72e138d
Compare
168176b to
4fcf5b1
Compare
72e138d to
3c3dde2
Compare
4fcf5b1 to
65b1054
Compare
3c3dde2 to
a696160
Compare
65b1054 to
f044533
Compare
a696160 to
4e82d80
Compare
f044533 to
c84c4be
Compare
4e82d80 to
8830706
Compare
c84c4be to
40d7fd1
Compare
8830706 to
13de8e2
Compare
13de8e2 to
b4a9dbd
Compare
40d7fd1 to
cc78865
Compare
b4a9dbd to
72cf224
Compare
cc78865 to
4ce585e
Compare
4ce585e to
fd42ee1
Compare
72cf224 to
2f53936
Compare
fd42ee1 to
65adff3
Compare
2f53936 to
6467b3a
Compare
Change-Id: Ia484466d0892e5043f3937b717c28fff91c17ce8 Signed-off-by: Thomas Kosiewski <tk@coder.com>
65adff3 to
7d8adca
Compare
6467b3a to
5a9b69e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Add OAuth2 Token Revocation Endpoint for Applications
This PR adds a new endpoint to revoke all OAuth2 tokens for a specific application for the authenticated user. The implementation:
POST /oauth2-provider/apps/{app}/revokeendpoint that revokes all tokens and authorization codes for a specific OAuth2 applicationLastUsedAttimestamp when a secret is used for authenticationThe new endpoint provides a more efficient way to revoke all tokens for an application in a single request, improving security by allowing users to quickly revoke access when needed.