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

Device Token

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

A device token is a credential that proves a specific device can request access to a service or application. In identity security, it is typically a machine-bound secret used for authentication, session validation, or push notification delivery, and must be protected like any other NHI credential because exposure can enable unauthorized access.

What Device Tokens Do in Practice

Device tokens are not just identifiers, they are credentials that let a specific device prove it is allowed to talk to a service. That makes them part of the authentication path, not merely a convenience token in a client app.

Because the token is bound to a device or device-like runtime, it often sits in a machine-to-service trust relationship. If that trust material is copied, replayed, or persisted too broadly, the service may accept requests from something that is no longer the intended device.

In practice, device tokens are used where a system needs to recognise a device across sessions, validate continuity, or deliver push notifications through a trusted channel. Their security value depends on how tightly they are scoped, stored, and revoked.

How Device Tokens Fit Into Authentication and Session Control

A device token can act as a proof mechanism, session anchor, or delivery credential depending on the service design. Some systems use it to remember that a device has already been enrolled, while others use it to associate future requests with that enrolled device.

That means the token often participates in more than one control. It may support authentication at login, session validation after login, or message delivery to a mobile endpoint. The same credential can therefore affect access decisions and post-authentication continuity.

When a device token is treated as durable rather than ephemeral, it becomes more sensitive to device turnover, reimaging, app reinstallations, and ownership changes. The longer it lives, the more important its lifecycle controls become.

Why Device Token Protection Matters

Device tokens should be protected like other identity material because exposure can enable unauthorized access or impersonation of the device. The risk is not limited to initial authentication, since a stolen token may also be useful for maintaining access or re-establishing it later.

Like other bearer-style credentials, a device token may be replayable if the service does not bind it strongly enough to context, device state, or a short validity window. That is why token handling, storage, and revocation design matter as much as the token value itself.

Protecting device tokens also reduces the chance that a compromised endpoint becomes a durable access path. If the token can be extracted from logs, mobile storage, backups, or client-side code, the device trust model can fail even when user credentials remain intact.

Device Token Lifecycle and Operational Boundaries

Device tokens should be issued, tracked, rotated, and revoked as part of a clear lifecycle rather than left to implicit app behaviour. The operational question is not only whether the token works, but whether the organisation can prove which device it belongs to and whether it should still be trusted.

Strong lifecycle handling usually means limiting token scope, separating enrolment from everyday use, and removing trust when a device is lost, replaced, or decommissioned. That also helps prevent stale tokens from surviving long after the original device context has changed.

Where device tokens support push delivery, the same lifecycle discipline still applies. Delivery credentials can become access credentials if they are accepted too broadly, so the boundary between messaging and authentication must remain explicit.

Risk and Threat Considerations

Device tokens are attractive to attackers because they can turn a single compromised device into repeated access. If the token is stolen, replayed, or left valid after the device is replaced, the attacker may inherit the device’s trusted status without needing to defeat the normal login flow again.

Failure mechanism: Weak storage, excessive lifetime, or poor revocation allows a copied token to remain useful after compromise. A stolen token can then be used to impersonate the device, bypass continuity checks, or re-establish access from a different endpoint.

Impact: The result can be unauthorized access, session persistence, or silent abuse of trusted device channels. In environments that use device tokens for access or push delivery, compromise can also expand into account takeover or unauthorized transaction confirmation.

Standards & Framework Alignment

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

OWASP Non-Human Identity Top 10 addresses the attack and risk surface, while NIST SP 800-53 Rev 5 and NIST SP 800-63 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5IA-9 — Identification and Authentication (Non-Organizational Users)Device tokens authenticate devices or external endpoints before service access.
IA-5 — Authenticator ManagementDevice tokens are credential material that must be protected, rotated, and revoked.
AC-2 — Account ManagementDevice token lifecycle depends on enrolment, removal, and disabling when device trust changes.
Recommendation — Use IA-9 to ensure device tokens are issued and validated with explicit trust and session controls. Apply IA-5 to manage device token issuance, storage, rotation, and revocation. Use AC-2 to remove device-token access when a device is decommissioned, lost, or no longer trusted.
NIST SP 800-63Digital Identity GuidelinesThe term sits in the authentication and authenticator guidance space for digital identity systems.
Recommendation — Apply 800-63 guidance to align device-token use with strong authenticator and replay-resistance expectations.
OWASP Non-Human Identity Top 10NHI-02 — Secret LeakageDevice tokens are secret credential material whose exposure can enable unauthorized access.
Recommendation — Detect and prevent device token leakage in logs, storage, and client-side code.

Practitioner Guidance

What to watch for: Treat device tokens as credentials with a lifecycle, not as harmless client metadata. The strongest practical control is to define when a token is issued, where it can be stored, and exactly what device state must still be true for it to remain valid.

Governance implication: Ownership should sit with the team that controls authentication and device trust, not with whichever application first requested the token. That team should also define revocation triggers for device loss, reset, re-enrolment, and suspected token exposure.

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 23, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org