Join our Newsletter — 33% off our NHI Course
Home› Glossary› Authentication, Authorisation & Trust› Issuer and Subject Claims
Authentication, Authorisation & Trust

Issuer and Subject Claims

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

Issuer and Subject Claims are the iss and sub claims in tokens such as JWTs: iss names the party that issued the token and sub identifies the principal it describes. Relying parties must validate iss against a trusted value and treat sub as unique only within that issuer. Skipping issuer checks lets tokens from an untrusted issuer be accepted.

What issuer and subject claims do

Issuer and subject claims are the pair of token fields that make a JWT meaningful to a relying party. The issuer identifies who minted the token, while the subject identifies who or what the token describes. Those two values are only useful when the receiver treats the issuer as trusted and interprets the subject in that issuer’s context.

Why validation of issuer and subject matters

The security value of these claims is not just identification, it is boundary setting. A token may be syntactically valid and still be unsafe if the application accepts an unexpected issuer, because the same subject value can exist in more than one trust domain. In practice, issuer validation prevents token substitution across identity providers, tenants, and federated ecosystems.

This is why subject values should be treated as scoped identifiers rather than global identities. A relying party that assumes a bare subject is universally unique can accidentally merge separate principals, apply the wrong authorization context, or accept assertions from a source it never intended to trust.

How issuer and subject claims are used in federated trust

These claims are central wherever one system accepts tokens issued by another, including SSO, workload federation, and CI/CD OIDC trust. In those flows, the issuer is part of the trust policy, and the subject often becomes the policy key that binds a token to a specific application, repository, workload, or environment. The Workload Identity Federation Guide shows how claim scoping fits into federated access patterns across cloud platforms.

Good implementations keep the issuer fixed to a known authority and narrow the subject to the smallest stable identity that the trust relationship actually needs. That is why GitHub Actions and similar systems often rely on exact subject matching, protected environment context, or immutable repository-derived identifiers rather than loose wildcards.

Common failure modes and control expectations

The most common failure is skipping the issuer check entirely, or treating the subject as if it were globally unique without checking which issuer produced it. Another failure is overbroad subject matching, where a token from an acceptable issuer is granted trust for more workflows or principals than intended. Both mistakes create confused-deputy style risk in federated authentication.

For practitioners, the control expectation is straightforward: validate the issuer against an allowlist, compare the subject against the exact trust condition you intended, and make sure the authorization decision uses both together. The GitHub Actions OIDC Federation Hardening Guide is a good reference point for pinning trust to exact subject claims, while the OAuth invalid_client and unauthorized_client Troubleshooting Guide helps diagnose related token and client-authentication failures that often surface during validation changes.

Where claim scoping goes wrong in practice

Problems usually appear when organisations try to make federation more flexible without tightening the trust policy in parallel. Overly broad subject patterns, reused issuer metadata, or undocumented claim transformations can make a token appear valid to the wrong relying party. In CI/CD and cloud federation, that can turn a benign automation token into an access path that crosses environments or projects.

Clear scoping also reduces operational confusion. When the issuer and subject are explicit and stable, audit logs, troubleshooting, and incident review become much easier because each token can be traced back to a single trust source and a single intended principal.

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 provides the primary governance reference for this term.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5IA-2 — Identification and Authentication (Organizational Users)Issuer and subject validation underpin trusted token-based authentication decisions.
IA-5 — Authenticator ManagementClaims in JWTs are part of the credential and assertion lifecycle used to authenticate.
IA-9 — Service Identification and AuthenticationFederated workloads and services rely on issuer and subject claims for machine-to-machine trust.
Recommendation — Validate token issuer and subject before granting access to the asserted principal. Manage token assertions and related credentials so trust decisions remain constrained and revocable. Bind service and workload trust to exact issuer and subject conditions.

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