Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

Yes—an already-issued JWT can remain usable after its administrator is deactivated if the API checks only the token’s signature and expiration. A signature shows that the token was issued by a trusted signer and has not been altered; it does not show that the account is still active. To block the token sooner, the API needs a way to check current account, session, or token status.

What the deactivated-admin scenario does—and does not—show

The scenario in the headline is a useful security example, not a verified report of a particular incident. The underlying risk is real: a self-contained JWT can be checked locally from its claims and signature, without contacting the issuer for every request. Deactivating an account does not alter a token already held by a client.

If an API validates only the signature and exp expiration claim, a token that was valid when issued may continue to pass those checks until it expires. Its claims can therefore be cryptographically valid but out of date with respect to the account’s current status.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

OWASP’s Application Security Verification Standard (ASVS), in its session-termination requirement, says applications should terminate active sessions when an account is disabled or deleted. It adds: “In the case of self-contained tokens, additional measures are required to revoke or block these tokens, as they may otherwise remain valid until expiration.”

#1 Best Overall
BookFactory Security Pass Down Log Book, Wire-O, 100 Pages
  • Made in USA - Proudly produced in Ohio by a Veteran-owned business
  • Comprehensive Coverage: This BookFactory log book includes essential fields such as post/shift, time of change, date, weather conditions, and a designated space for detailed notes. This ensures that all relevant information is captured and easily accessible.
  • Sturdy Cover: The trans-lux cover protects the log book from wear and tear, ensuring its longevity and maintaining the integrity of your recorded data.
  • Essential Security Tool: This log book is an indispensable tool for any organization that values security and accountability. It helps to prevent misunderstandings, improve communication, and ensure a smooth transition between shifts.
  • Wire-O with Trans-lux cover, 100 Pages, Dimensions 8.5" x 11" - (Security-Pass-Down) Reorder SKU: LOG-100-7CW-PP(Security-Pass-Down)

What “dual-mode JWT” means here

“Dual-mode JWT” is not established by the cited guidance as a standardized JWT mode. In this article, it describes a design with two parts: local cryptographic and claim validation for each request, plus a check against current server-side state when a session or account may have been revoked.

The local checks preserve the convenience of validating a self-contained token without asking the issuer to recreate or verify every claim. The state check answers a different question: is this account, session, or token still permitted now? Adding that check changes the system’s dependency on shared state and how it must handle delays or outages; it is not simply a speed setting.

Rank #2
BookFactory Security Incident Report Log Book, Wire-O, 100 Pages
  • Made in USA - Proudly produced in Ohio by a Veteran-owned business
  • This BookFactory log book is for security guards in any sector or business. You can report location, circumstances and report number.
  • There are spaces to log the individual's names address, description and other identifying information. There are also spaces to note others involved, notes, and vehicle information if one was involved
  • Wire-O, 100 Pages, Dimensions 3.5" x 5.25"
  • Reorder SKU: LOG-100-M3CW-PP(Security-Report)

How can an API reject a JWT before it expires?

The main choice is what current state to keep and what the API checks on each request. OWASP’s JWT guidance and ASVS describe several approaches, but do not provide comparative performance benchmarks. The right fit depends on the required revocation behavior and the system’s tolerance for extra state, propagation delay, and service failures.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Approach How the API uses it Key design consideration
Server-side session record Associate the token with a session record and reject it when that session is terminated. Provides current session state, but the API must be able to reach the state store or an acceptably fresh cache.
Denylist keyed by token ID Record terminated token identifiers, typically using the token’s iss issuer and jti token ID, and reject a match. The check must be applied consistently by every relevant API, and entries need to be retained while the corresponding tokens could still be accepted.
Per-user issuance cutoff Store a user-specific cutoff time and reject that user’s tokens issued before it. Useful when a policy change should invalidate earlier tokens for one user; it requires reliable comparison of token issuance time with the stored cutoff.
Per-user signing-key rotation Change the signing key associated with the user so tokens signed with the old key no longer validate. Requires the validation system to select and manage keys in a way that supports user-specific rotation.
Token Status List Use status information associated with the token, such as a status-list location and index, and check that status. The consumer needs access to current status information and a defined policy for stale data or an unavailable status source.

A denylist can be a direct fit when the system must terminate particular tokens, while a per-user cutoff can invalidate a user’s earlier tokens as a group. Session records represent session state directly. Key rotation and status lists have different operational requirements; choose based on how the application issues tokens and distributes current state, rather than assuming one mechanism is universally best.

What changes when the state check is on the request path?

A request-time lookup can make account disablement take effect sooner, but it adds a dependency. Before adopting one, decide how the API will behave in each of these cases:

  • Latency: A lookup or cache access adds work to the request path. The cited standards and guidance do not establish a numeric overhead for any of the approaches.
  • Availability: If the database or status service is unavailable, decide whether protected requests fail closed (are rejected) or whether the API temporarily accepts tokens without a fresh status check. Accepting them improves availability but can permit a revoked token; rejecting them preserves enforcement at the cost of access.
  • Cache freshness: A cache reduces repeated calls to a state store, but a recently deactivated account may remain usable until the cached status is refreshed. Set a freshness policy that matches the application’s revocation needs.
  • Coverage: Ensure each API that accepts the token applies the same revocation policy. A check in one service does not protect another service that still accepts the token using only local validation.
  • Cleanup: Define how long revocation records must remain relevant and how expired or obsolete state is removed without making still-acceptable tokens usable again.

What must JWT validation still check?

Revocation logic supplements validation; it does not replace it. OWASP’s REST Security Cheat Sheet recommends that a relying party validate token integrity using its own configuration rather than letting an untrusted token header choose the algorithm. It also calls for checking the issuer (iss), audience (aud), and expiration (exp) for access-control JWTs.

Audience checking matters when tokens could be presented to more than one application or relying party. RFC 8725 says that when an issuer creates JWTs for multiple relying parties or applications, the token must include an audience claim that can identify the intended recipient. RFC 7519 defines the JWT format and registered claims, including expiration. An unexpired exp limits token lifetime; it is not a signal that an account remains enabled.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Does OAuth token revocation immediately invalidate a locally checked JWT?

Not necessarily. RFC 7009 defines OAuth token revocation, but a resource server that validates a self-contained access token locally does not automatically learn that the authorization server has revoked it. To reject that token before its expiration, the resource server needs a way to receive or check current status, such as shared revocation state or a status/introspection mechanism that its design supports.

That distinction is important when an application disables a departing employee or administrator: revoking at the issuer is not enough by itself if the APIs continue accepting locally validated tokens without checking whether they remain active.

A practical decision sequence

  1. Set the revocation requirement. Decide whether account disablement must block requests immediately, within a defined propagation interval, or only when the token expires. Do not imply immediate revocation if caches or asynchronous updates can delay it.
  2. Choose the state to track. Use session records when sessions are first-class, a jti-based denylist for individual token termination, or a per-user cutoff when older tokens for that user must be rejected together. Consider key rotation or a status list where those mechanisms fit the issuing and validation architecture.
  3. Place enforcement on every relevant API. Make the current-state check part of the token acceptance policy wherever the token can be used, not just in the account-management service.
  4. Specify cache and outage behavior. Document how quickly status changes propagate and whether protected requests are rejected or allowed when a fresh state check is unavailable.
  5. Keep the ordinary JWT checks intact. Validate integrity, issuer, audience, expiration, and any additional claims required by the application’s token profile before authorizing the request.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.