Join our Newsletter — 33% off our NHI Course

Assertion Signing

Assertion signing is the process of cryptographically signing an authentication statement so a receiving system can verify who issued it and whether it was altered in transit. In identity systems, signed SAML or OIDC assertions help establish trusted single sign-on by binding claims to a verified identity provider and protecting integrity.

How assertion signing works

Assertion signing adds a cryptographic integrity layer to federated login flows. The identity provider signs the assertion so the service provider can verify that the statement really came from the expected issuer and was not changed after issuance.

This matters because the assertion is often the carrier for the user’s identity, authentication context, and sometimes authorization-relevant claims. If the signature cannot be validated, the relying party should treat the assertion as untrusted, even if the rest of the login flow looks normal.

Why signed assertions matter in SAML and OIDC

In SAML and OIDC, the signature helps establish trust across systems that do not share the same local authentication mechanism. It gives the receiving application a way to rely on an external identity provider without blindly accepting inbound claims.

That trust boundary is what makes assertion signing foundational to single sign-on. It helps prevent forged logins, tampered claims, and replay of altered messages, especially where the assertion is used to prove that an authentication event actually occurred.

What can go wrong if signing is weak or misused

Signature handling errors can break the security model even when a product claims to “support signed assertions.” Common failures include accepting unsigned assertions, trusting the wrong signing key, validating the wrong part of the message, or failing to check that the issuer matches the expected identity provider.

Operationally, the risk is not just interception, but impersonation. If an attacker can forge, swap, or reuse assertions, they may obtain authenticated access as another user, bypass normal login controls, or inject false identity attributes into downstream systems.

How practitioners should validate and govern assertion signing

Teams should treat assertion-signing trust as part of the application’s authentication boundary, not as a box to tick in federation setup. The receiving system needs a strict trust relationship for issuers, keys, certificates, audiences, and assertion lifetimes, with validation enforced consistently across environments.

It is also important to align the signing model with the protocol implementation. For example, some deployments rely on signed assertions for message integrity, while others combine assertion signatures with transport security and token validation rules. RFC 7523: JWT Profile for OAuth 2.0 Client Authentication and Authorization Grants is a useful reference point for understanding signed JWT assertions in OAuth-related flows, and NIST SP 800-63 Digital Identity Guidelines provides broader identity assurance context for authentication decisions.

Standards & Framework Alignment

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

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

Framework Control / Reference Relevance
NIST SP 800-63 Digital Identity Guidelines Defines digital authentication and assertion trust for identity federation
Recommendation — Use assurance guidance to validate issuer trust, assertion integrity, and authentication strength.
NIST SP 800-53 Rev 5 IA-5 — Authenticator Management Covers protected handling of authenticators and related verification material
IA-2 — Identification and Authentication (Organizational Users) Supports trusted authenticated access based on verified identity assertions
Recommendation — Manage signing keys and related authenticators with strict lifecycle controls. Require verified authentication before granting access through federated assertions.
OWASP ASVS V10 — OAuth and OIDC Covers verification of identity tokens and assertion-based federation flows
V7 — Session Management Assertion compromise can directly affect session establishment and integrity
Recommendation — Validate issuer, audience, signature, and token handling rules for federated login. Bind session creation to validated assertions and reject replayed or altered inputs.