SECURITY ENGINEERING, IN PRACTICE.ANALYSIS / TECHNICAL NOTES / FIELD NOTES
Packet Notes.

Clear thinking on software,
infrastructure and security.

Analysis

Revocation needs a propagation model

Ending a grant and stopping its use are related events with different operational evidence.

Define what is being revoked

A token, a refresh capability and the underlying authorization grant are related but distinct objects. A revocation procedure needs to state which of them it invalidates and what consumers are expected to do next.

RFC 7009 defines an OAuth token-revocation endpoint and discusses implementation considerations, including the possibility of propagation delays. A successful response should be interpreted according to that contract, not as proof that every downstream effect has stopped.

Measure the intended boundary

Our proposed review names the revocation trigger, the authority receiving it, the consumers affected and the expected maximum interval before new requests are rejected. Include caches and replicated state in the explanation.

Distinguish a request accepted before revocation from one initiated afterward. Long-running work may have its own cancellation semantics. If the system intentionally allows a previously authorized transaction to finish, document that choice separately from the treatment of new work.

Make a verification record

Use a disposable credential to record issuance, revocation acknowledgement and the first confirmed rejection at each relevant consumer. Note the clocks and request identifiers involved. The result is a concrete account of the behavior observed, with limits that an operator can understand during a real access change.

Read the acknowledgement narrowly

RFC 7009 returns HTTP 200 both for successful revocation and for an invalid submitted token. The status therefore does not establish that the supplied value was previously active.

In a controlled check, first demonstrate that a disposable token reaches the intended consumer. Revoke it, then repeat a harmless request against each consumer with recorded timestamps. Keep a separate result for a request already in progress. A rejection at one gateway provides evidence about that gateway, not every service that can validate the token.

Source & further reading

IETF RFC 7009 · OAuth 2.0 Token Revocation ↗