OAuth 2.0 Token Revocation
RFC 7009 · RFC7009 · token revocation endpoint
By Boston Identity · Explained · 6 min read
The short answer
OAuth 2.0 Token Revocation is a standard that lets an app tell the server that issued its tokens to cancel one it no longer needs. The server must support cancelling refresh tokens and should support cancelling access tokens.
- What it is
- A protocol
- Defined by
- IETF, RFC 7009 (Standards Track, 2013)
- Who it's for
- Teams that run OAuth servers or write incident runbooks
- In our briefings
- 232by month, last 12
What is OAuth 2.0 Token Revocation?
Suppose an employee's laptop is compromised, and your incident responder wants every token issued for that user cancelled at once. The standard tool, OAuth (Open Authorization) 2.0 Token Revocation, was not built for that job. It works one token at a time, and it is called by the app that holds the token.1,2 Its authors wrote that the specification "in general does not intend to provide countermeasures against token theft and abuse".§5
What the specification does define is one extra endpoint, an address on the authorization server, which is the server that issues tokens. A client, the app that holds a token, posts the token there to say it is no longer needed.§2 The server invalidates that token and, if applicable, other tokens based on the same authorization grant, the approval the tokens stand for.§1
The cases the authors had in mind are everyday ones: the user logs out, changes identity or uninstalls the app. Revoking at that point keeps abandoned tokens from being abused, and it means the user is not left with a valid grant they are unaware of.§1
Not a kill switch for a stolen token or a compromised user. The request covers one particular token and comes from the client the token was issued to,§2.1 and the specification says it does not in general intend to counter token theft.§5
How does OAuth 2.0 Token Revocation work?
Two parties take part: the client, an app that holds tokens, and the authorization server that issued them. The resource server, the API (application programming interface) where access tokens are used, is affected by the result but is not part of this exchange.
Figure steps
- The client posts the token
- The server checks who is asking
- The server invalidates the token
- The server may revoke related tokens
- The server answers and the client stops
The client hands back one token, and everything after that happens inside the authorization server until it answers.
Drawn from RFC 7009, section 2
Swipe for the full figure →
The client posts the token
The client sends an HTTP (Hypertext Transfer Protocol) POST request to the server's revocation endpoint, carrying the token it wants revoked. It may add a hint that says whether this is an access token or a refresh token, and the server may ignore the hint. The client also includes its own authentication credentials. The endpoint's address must use HTTPS (HTTP Secure), and the client must verify that it does.§2, §2.1
The server checks who is asking
The authorization server first validates the client's credentials, in the case of a confidential client, one with credentials of its own. It then verifies that the token was issued to the client making the request. If this validation fails, the server refuses the request and informs the client of the error.§2.1
The server invalidates the token
The authorization server invalidates the token. The specification says this takes place immediately and the token cannot be used again. It also admits that in practice there could be a propagation delay, in which some servers know about the invalidation and others do not, and it says implementations should minimize that window.§2.1
The server may revoke related tokens
Depending on the server's revocation policy, revoking one token may also revoke related tokens and the authorization grant beneath them. If the token is a refresh token and the server supports revoking access tokens, it should also invalidate all access tokens based on the same grant. If the token is an access token, the server may revoke the matching refresh token as well.§2.1
The server answers and the client stops
The server responds with HTTP status 200 if the token was revoked, and also if the client submitted an invalid token. After a 200 the client must not try to use the token. If the server answers 503 instead, the client must assume the token still exists and may retry after a reasonable delay. A client that tries to revoke an access token on a server that does not support it gets the error unsupported_token_type.S1
Why does OAuth 2.0 Token Revocation matter now?
Revision 05 of a draft on OAuth and AI (artificial intelligence) agents, dated 27 October 2026, names revocation as the largest gap for an incident-response agent. When a laptop is compromised, that agent has to end every session and token for the user at once, and OAuth revocation under RFC 7009, the Request for Comments (RFC) that defines it, works one token at a time.1 The draft narrows its own point elsewhere: it says RFC 7009 permits revoking related tokens from the same grant, and the gap is a task that spans several grants and authorization servers.1 The authors describe scenarios and cite no outage.1
Other drafts lean on the endpoint or work around it. An OAuth draft for token requests that wait on a person lets the client cancel a pending request by revoking its deferral code through RFC 7009.3 Parecki's Global Token Revocation draft sets itself beside RFC 7009: the older endpoint takes the token itself and is called by the client that holds it, while the draft takes a user identifier such as an email address and is framed as a command with defined outcomes.2
Chen and Su's agent-revocation draft finds a different gap. RFC 7009, they say, has no standard way to tell other parties, such as resource servers and downstream agents, that a token's status changed.4 We read these together as a caution for anyone whose incident runbook says to revoke the tokens: the standard endpoint covers a client tidying up its own tokens, and ending everything for one user at once is still draft work.
Where does it fit?
| Compared with | How OAuth 2.0 Token Revocation differs |
|---|---|
| OAuth Token Introspection | Revocation ends a token; introspection is one way a resource server can find out that it ended. Chen and Su's task-lifecycle draft says resource servers must check for revocation in real time, through a revocation feed or token introspection.5 |
| Global Token Revocation | Token revocation takes one token from the client that holds it. Global Token Revocation, still a draft, takes a user identifier such as an email address and is framed as a command with defined outcomes, whatever protocol the user signed in with.2 |
What goes wrong?
- Access tokens can outlive a revoke. Servers must support revoking refresh tokens but only should support revoking access tokens.§2 Where a server does not, access tokens are not immediately invalidated when their refresh token is revoked, and the specification says deployments must take this into account in their security risk analysis.§5
- The API may not hear about it. A self-contained access token lets a resource server decide without asking the authorization server, so immediate revocation may need what the specification calls "some (currently non-standardized) backend interaction" between the two servers. The design alternative it offers is short-lived access tokens.§3
- A fake endpoint collects tokens. The client sends the token itself, so it needs to get the endpoint's location from a trustworthy source only and must authenticate the endpoint. Otherwise an attacker could capture valid tokens with a counterfeit one.§5
- It is cleanup, not defence against theft. The specification says revocation reduces the likelihood that abandoned tokens are abused, and that it does not in general intend to provide countermeasures against token theft and abuse.§5
What should a security leader ask?
- 01
When one of our apps revokes a refresh token, does our authorization server also invalidate the access tokens issued on the same grant?
- 02
Are our access tokens self-contained, and if so, how does each API learn that one was revoked?
- 03
If a user's laptop is compromised, what do we call to end all of that user's tokens, and how many separate calls does it take?
- 04
How long do our access tokens live, and is that a window we accept after a revoke?
- 05
Do our apps revoke their tokens when a user logs out or uninstalls the app?
Sources
- S1
RFC 7009: OAuth 2.0 Token RevocationIETF · Standards Track RFC, August 2013
›Evidence: 5 claims from 5 briefings
- 1BI-FIND-2026-0631 · OAuth tokens prove an agent's rights, not a person's consent; revision 05 adds a day-long grant with spend capsFor an incident responder agent the authors name revocation as the largest gap: when a laptop is compromised the agent has to end every session and token for that user at once, and OAuth revocation (RFC 7009) works one token at a time. They also want a durable, possibly offline-checkable record of what the agent did and under which policy. Revision 05 raises the same gap for a consumer, who should be able to end a whole grant in one action; the authors say the mapping from a task to its tokens is proprietary. The draft narrows its own point in the maintenance case, where it says RFC 7009 permits revoking related tokens from the same grant and the gap is a task that spans several grants and authorization servers. The authors describe scenarios and cite no outage.
- 2BI-FIND-2026-1877 · Global Token Revocation must end a user's refresh tokens; their access tokens can outlive the callParecki's appendix compares the draft with RFC 7009, OpenID Connect's two logout specifications and the Shared Signals events, and says how each differs. RFC 7009 takes the token itself and is called by the OAuth client that holds it. OpenID Connect Front-Channel Logout works only while the user is in a web browser. Back-Channel Logout identifies the user only by an ID token's sub, assumes the application uses OpenID Connect rather than SAML, and, the draft notes, says refresh tokens issued with the offline_access scope "SHOULD NOT be revoked". A CAEP event is, in his words, "a signal that may or may not be acted upon by the receiver", and RISC lets users opt out. Global Token Revocation instead takes a user identifier in RFC 9493 formats such as an email address and is framed as a command with defined outcomes, whatever protocol the user signed in with.
- 3BI-FIND-2026-0628 · OAuth's draft for token requests that wait on a person now gives the client a link for the user to approveThe draft gives every OAuth grant a third answer besides a token or an error. A client that sends completion_mode=deferred can get back an HTTP 400 pending response carrying a deferral_code and a polling interval, then poll the token endpoint with a new grant type until the decision lands, or cancel by revoking the deferral code (RFC 7009). An optional callback only says the result is ready and carries neither the token nor any credential. The server may not defer a client that did not opt in, and since -01 a server without support must not reject the parameter either. Before issuing after what may be hours or days, the server must re-check that consent still holds, and the draft treats a deferral code like a refresh token, with DPoP binding mandatory for public clients.
- 4BI-FIND-2026-1260 · China Mobile's agent-revocation draft adds security rules but still never says how it finds the sub-agentsOne gap the authors find in RFC 7009 is that it has no standard way to tell other parties, such as resource servers and downstream agents, that a token's status changed. Their abstract promises "coordination protocols" and "verifiable audit trails". Neither revision's body specifies a notification or coordination mechanism: notification appears only as an events_emitted count in the example responses. The audit trail is an audit_reference string in those responses plus a rule, new in -01, that every revocation attempt, successful or failed, be logged in a tamper-evident trail. The draft gives no log format and no way for another party to verify the log.
- 5BI-FIND-2026-1251 · A China Mobile draft would end an agent's token when its task ends, if a webhook says soChen and Su's draft lets an agent's access token end when its task does, not only when it expires. The client adds a lifecycle_binding to its Rich Authorization Requests (RAR) request, naming a task id and the states that end the task. The one binding type the draft defines is a task-status webhook: the task provider reports those states to the authorization server, which MUST link the task to the token and, when the task ends, "MUST immediately revoke the associated token and propagate this revocation information." Resource servers SHOULD NOT rely solely on the token's expiry and MUST check for revocation in real time, through a revocation feed or token introspection. The authors call the scheme "entirely dependent" on that notice arriving and keep expiry as the fallback; the authorization server has to trust the task provider's webhook, and they say only that mutual TLS and request signing SHOULD protect it. We read the cost as falling on every API: a token carrying the binding can no longer be trusted on its signature and expiry alone, and if the webhook never fires, nothing ends it early.
›In our briefings
What our briefings say about OAuth 2.0 Token Revocation itself, with the most direct claims first.
RFC 7009 makes refresh-token revocation a requirement and access-token revocation a recommendation: implementations "MUST support the revocation of refresh tokens and SHOULD support the revocation of access tokens". A server that does support revoking access tokens SHOULD also invalidate every access token issued on the same grant when a refresh token is revoked. The authors warn in Section 5 that a server without that support leaves access tokens that "will not be immediately invalidated" when their refresh token is revoked. A client that tries to revoke an access token on a server without that support gets the error code the RFC adds, unsupported_token_type. Revoking an access token MAY take its refresh token with it, and beyond these rules the RFC leaves how far a revocation cascades to each server's policy.
RFC 7009 requires refresh-token revocation but only recommends it for access tokens, which may outlive a revokeBI-FIND-2013-0001
One gap the authors find in RFC 7009 is that it has no standard way to tell other parties, such as resource servers and downstream agents, that a token's status changed. Their abstract promises "coordination protocols" and "verifiable audit trails". Neither revision's body specifies a notification or coordination mechanism: notification appears only as an events_emitted count in the example responses. The audit trail is an audit_reference string in those responses plus a rule, new in -01, that every revocation attempt, successful or failed, be logged in a tamper-evident trail. The draft gives no log format and no way for another party to verify the log.
China Mobile's agent-revocation draft adds security rules but still never says how it finds the sub-agentsBI-FIND-2026-1260
Parecki's appendix compares the draft with RFC 7009, OpenID Connect's two logout specifications and the Shared Signals events, and says how each differs. RFC 7009 takes the token itself and is called by the OAuth client that holds it. OpenID Connect Front-Channel Logout works only while the user is in a web browser. Back-Channel Logout identifies the user only by an ID token's sub, assumes the application uses OpenID Connect rather than SAML, and, the draft notes, says refresh tokens issued with the offline_access scope "SHOULD NOT be revoked". A CAEP event is, in his words, "a signal that may or may not be acted upon by the receiver", and RISC lets users opt out. Global Token Revocation instead takes a user identifier in RFC 9493 formats such as an email address and is framed as a command with defined outcomes, whatever protocol the user signed in with.
Global Token Revocation must end a user's refresh tokens; their access tokens can outlive the callBI-FIND-2026-1877
›Cited in 23 briefings
Every briefing that discusses this term, newest first.
- Personal-agent services on AGTP would sign every user's requests with one key
Draft · · IETF Datatracker · Chris Hood, Nomotic, Inc. · Nov 22, 2026
- OAuth chair plans an adoption call on a DPoP-required flag for authorization servers
Video · · IETF - Internet Engineering Task Force · Nov 20, 2026
- Asor's agent-chain draft now says a chain keeps verifying after its principal leaves, until expiry or revocation
Draft · · IETF Datatracker · Rafael Asor · Oct 28, 2026
- An OAuth client gets to name who vouches for it, and removing one waits on server caches
Draft · · IETF Datatracker · Karl McGuinness · Sep 28, 2026
- OAuth's draft for token requests that wait on a person now gives the client a link for the user to approve
Draft · · IETF Datatracker · Guilherme de Oliveira Niero et al. · Sep 23, 2026
- Global Token Revocation must end a user's refresh tokens; their access tokens can outlive the call
Draft · · IETF Datatracker · Aaron Parecki, Okta · Feb 25, 2026
- Receiver acknowledged, gateways cut off: in a fixed 16-host replay, 112 of 225 revoked tool calls still committed
Paper · · arXiv · Lifei Liu et al. · Oct 11, 2026
- OAuth tokens prove an agent's rights, not a person's consent; revision 05 adds a day-long grant with spend caps
Draft · · IETF Datatracker · Meiling Chen et al. · Oct 27, 2026
- An OAuth profile for AI agents makes every hand-off cut privileges, but a shorter expiry alone counts as a cut
Draft · · IETF Datatracker · Angel Cruz · Feb 7, 2026
- TPX replaces an app's embedded AI provider key with a capped, metered grant the user approves at their provider
Article · · tokenpony.dev · Alex Polvi · Jul 20, 2026
- In Accenture's agent-delegation design, the user is the trust anchor and revocation is left open
Paper · · arXiv · Srikumar K. Subramanian et al. · Sep 25, 2026
- A June OAuth draft logs each hand-off between AI agents, but the per-hop limits the act claim lacks are optional
Draft · · IETF Datatracker · Dapeng Liu et al. · Jun 8, 2026
- Atlassian's first draft for offline delegation banned bearer handles; revision 05 just recommends sender binding
Draft · · IETF Datatracker · Larry Zhu et al. · May 22, 2026
- China Mobile's agent-revocation draft adds security rules but still never says how it finds the sub-agents
Draft · · IETF Datatracker · Meiling Chen et al. · Apr 27, 2026
- OAuth 2.1's October draft bans plain PKCE and adds browser-app rules; 2.1-only clients can fail on older servers
Draft · · IETF Datatracker · Dick Hardt et al. · Mar 2, 2026
- An OAuth client brokering many tools, as agent services do, can let a rogue tool take over a user's other tools
Draft · · IETF Datatracker · Tim Würtele et al. · Mar 2, 2026
- A China Mobile draft would end an agent's token when its task ends, if a webhook says so
Draft · · IETF Datatracker · Meiling Chen et al. · Feb 4, 2026
- Huawei-led OAuth draft lets clients chain narrower tokens offline but leaves revocation delivery out of scope
Draft · · IETF Datatracker · Li Ruochen et al. · Oct 20, 2025
- A rogue OAuth server can collect a client's signed assertion and replay it at an honest server the client also uses
Article · · IACR Cryptology ePrint Archive · Pedram Hosseyni et al. · Apr 7, 2025
- RFC 8705 lets OAuth bind tokens to a client certificate, and leaves the proxy in front of the API to the deployer
Article · · RFC Editor · Brian Campbell et al. · Feb 28, 2020
- RFC 8414 tells an OAuth client to discard server metadata whose issuer differs from the URL it started from
Article · · RFC Editor · Michael B. Jones et al. · Jun 1, 2018
- RFC 7009 requires refresh-token revocation but only recommends it for access tokens, which may outlive a revoke
Article · · RFC Editor · Torsten Lodderstedt et al. · Aug 1, 2013
- RFC 6819 warned in 2013 that servers receiving a token may reuse it, and offered audience binding and client-bound tokens
Article · · RFC Editor · T. Lodderstedt et al. · Jan 2013
In our columns
- A disabled account's tokens stay usable until each app rejects them or they expire
Column · Nov 18, 2026
Related terms
What appears alongside OAuth 2.0 Token Revocation in the same briefings.
OAuth Token IntrospectionOAuth 2.0 Device Authorization GrantOAuth 2.0 Security Best Current PracticeGlobal Token RevocationPushed Authorization RequestsAgent Authorization Profile (AAP) for OAuth 2.0OAuth 2.0 Authorization Server MetadataUpdates to OAuth JWT Client Authentication and Assertion-Based Grants
Was this explainer useful?
Share this explainer
Every finding, forecast and open question on this site has a permanent ID. If we reword one, its ID stays the same, so a citation keeps pointing to the same claim.
Working on an identity problem that involves OAuth 2.0 Token Revocation? Talk to Boston Identity