Join our Newsletter — 33% off our NHI Course
Authentication, Authorisation & Trust

JWT ID Claim

← Back to Glossary
By NHI Mgmt Group Updated October 31, 2026 Domain: Authentication, Authorisation & Trust

The JWT ID claim is a unique identifier inside a JSON Web Token that helps distinguish one token from another. It is the "jti" claim, used to support replay detection, token tracking, revocation checks, and audit correlation across authentication and authorization systems.

What the JWT ID claim does

The JWT ID claim, usually written as jti, gives each JSON Web Token a unique identifier. That makes a token easier to distinguish from every other token issued by the same system, which is especially useful when a platform needs to detect replay, correlate audit events, or mark an individual token as revoked.

Its value is not the authentication result itself. Instead, it is a token-level reference point that other controls can use when they need to answer, “Which exact token was presented, when, and by whom?” In practice, that makes jti most valuable when tokens may be copied, reused, or checked across multiple services.

Why unique token IDs matter

A JWT can be valid in the cryptographic sense and still be undesirable from a security perspective if it has been copied, replayed, or seen outside its intended context. A unique token ID helps defenders separate one bearer token from another so that the token can be tracked through its lifecycle without relying only on subject, issuer, audience, or expiry claims.

That distinction matters because two tokens for the same user, client, or workload can have very different security status. One may be freshly issued and expected, while another may be old, duplicated, or already marked for revocation. The identifier gives systems a stable handle for that distinction, which is why it is often paired with replay detection and audit correlation.

For readers working through JWT validation and attack controls more broadly, the JWT Security Guide places jti in the wider context of signing, claim validation, key handling and revocation design.

How the claim supports replay detection and revocation

Replay detection is the most direct security use case for jti. If a token is presented more than once when only one presentation should be accepted, the identifier allows the verifier to recognise that the same token instance has already been seen. That is particularly important for bearer tokens, where possession is often enough to use the token.

Revocation systems also benefit from a stable token identifier. Rather than revoking every token for a user or client, an application can record the specific identifier for a token that should no longer be accepted. This is useful for logout flows, session invalidation, suspicious activity response, and short-lived containment after compromise.

The same concept becomes more important when organisations need to understand token usage across services. If a token is exchanged, forwarded, or audited in several places, the identifier allows those systems to correlate events without treating all tokens as interchangeable. The Token and Session Security Guide covers how replay, revocation, sender-constrained tokens and session controls fit together.

Where JWT ID fits in validation and incident analysis

jti should be treated as one part of a broader token-validation story, not as a substitute for signature checks, issuer validation, audience checks, expiry, or algorithm controls. A unique identifier is only useful if the surrounding verifier is already trustworthy and the application knows how to store and compare identifiers safely.

In incident analysis, the claim becomes a traceability aid. When a suspicious token is observed, the identifier can help security teams connect logs, identify when the token first appeared, determine whether it was reused, and decide whether related sessions or credentials should be reviewed. That makes jti useful for both prevention and post-event investigation.

In federated and workload-focused deployments, token identity also matters beyond the user session itself. The Guide to SPIFFE and SPIRE is a useful companion where JWTs are used as workload identity material and token-level traceability supports trust and attestation workflows.

Limits and common implementation pitfalls

The claim is only helpful if the token issuer generates identifiers that are actually unique in practice and if the verifier stores or compares them in a way that resists collisions, reuse, and stale state. If a system cannot reliably record prior token IDs, replay detection will be incomplete even though the claim exists.

Another common mistake is assuming that the presence of jti makes a JWT self-protecting. It does not. A token can still be stolen, replayed, or abused if signing, transport, storage, expiry, or revocation are weak. The identifier simply gives security tooling a better way to notice and manage those events.

Where JWTs are used in app-to-app access patterns, the Identity Assertion JWT Authorization Grant Guide shows how token validation and resource-server checks depend on precise claim handling, not just token format.

Risk and Threat Considerations

JWT ID reduces ambiguity, but it also becomes part of the trust boundary. If replay detection is absent, if token identifiers are not stored reliably, or if revocation lookups are too slow or incomplete, an attacker with a copied bearer token can keep using it until it expires.

Failure mechanism: The system accepts the same token more than once, fails to recognise a revoked token, or cannot correlate the token to prior activity because the identifier is missing, duplicated, or not checked consistently.

Impact: Replayed tokens can preserve unauthorized access, complicate incident response, and weaken audit confidence because defenders cannot reliably tell which exact token instance was used.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5 and OWASP ASVS set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementJWT ID supports token lifecycle tracking and revocation handling for authenticators.
IA-9 — Service Identification and AuthenticationJWTs are often used by services and workloads, where token-level identity and replay control matter.
AU-2 — Event LoggingJWT IDs enable audit correlation across authentication and authorization events.
Recommendation — Track JWT identifiers in authenticator lifecycle records and revoke or flag compromised token instances promptly. Use unique JWT IDs to support service-to-service token tracking, replay detection and revocation checks. Log JWT identifiers where needed to correlate token use across systems and investigate suspicious reuse.
OWASP ASVSV7 — Session ManagementJWT IDs help distinguish and manage token instances within session and replay controls.
V9 — Self-contained TokensJWT ID is a core claim for tracking and revoking self-contained token instances.
Recommendation — Bind token tracking and revocation logic to unique JWT IDs as part of session management. Validate self-contained token handling so each JWT can be uniquely tracked, revoked and audited.

Practitioner Guidance

Why practitioners should care: The JWT ID claim is most valuable when token replay, revocation, and auditability matter to the access model. If your platform issues bearer tokens across multiple services, jti gives you a practical hook for lifecycle controls that would otherwise be hard to enforce cleanly.

What to watch for: Treat the claim as a coordination point, not a standalone defense. It should be paired with strict token validation, durable revocation state, and logging that can connect token identifiers to the surrounding authentication event.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 31, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org