By NHI Mgmt Group Editorial TeamBased on Okta: “What Is SAML and How Does It Work?” (September 28, 2024)

TL;DR: SAML reduces login friction by letting identity providers authenticate users once and pass assertions to service providers, centralising access management while also concentrating trust in the identity layer and leaving service-account lifecycle issues outside the federation model, according to Okta. That makes federation an IAM control-plane decision, not just a user-experience choice.


At a glance

What this is: This is an explainer of SAML federation and its core finding: centralised sign-in reduces password reuse and access friction, but it also concentrates trust in the identity provider and changes how access is governed.

Why it matters: IAM, NHI, and PAM teams need to treat federation as a governance boundary, because the sign-in layer, not the application, becomes the point where authentication trust, lifecycle controls, and offboarding discipline must hold.


Context

SAML federation is a trust model, not just a login shortcut. It moves authentication into an identity provider and lets service providers rely on signed assertions instead of direct credential checks, which changes where control, audit, and failure live in the stack.

For identity programmes, that matters because the control surface shifts upward. SSO can simplify access for users, but the same pattern also means that mismanaged federation settings, stale access rights, and poorly governed service accounts become harder to see if teams only focus on the application layer.

The article is mainly about user sign-in, but the governance lesson reaches beyond human access. Once identity becomes centralised, the practical question is not whether SAML works, but whether the organisation can govern trust, offboarding, and access scope consistently across users and connected services.


Key questions

Q: What fails when SAML federation is treated as complete identity governance?

A: The main failure is assuming that centralised sign-in also covers lifecycle control. SAML can authenticate users and pass attributes, but it does not automatically enforce offboarding, entitlement cleanup, or service-specific access review. If downstream applications do not consume those changes reliably, access can remain valid after the business reason for it has ended.

Q: Why does SSO reduce password risk but not eliminate access risk?

A: SSO removes repeated password entry, which reduces password fatigue and lowers exposure to reuse and phishing. It does not eliminate access risk because the real issue moves to token trust, downstream entitlements, and the quality of revocation. If those controls are weak, one authenticated session can still reach far more systems than intended.

Q: What signs show that SAML offboarding is not working well?

A: Look for accounts that remain active in downstream applications after a role change or departure, inconsistent attribute mappings across services, and manual ticketing to remove access from SSO-connected tools. Those signals show that federation is simplifying login while leaving revocation fragmented, which increases the chance of stale access persisting unnoticed.

Q: How should teams govern SAML for human users versus service accounts?

A: Human users can be governed through federation, access policy, and lifecycle reviews, but service accounts need separate inventory, secret management, and revocation controls. SAML does not replace machine identity governance. Teams should treat the IdP as one layer in the human access model and keep non-human identities under their own ownership and control.


Technical breakdown

How SAML assertions move trust from the service to the identity provider

SAML uses XML-based assertions to pass authentication and authorisation information from an identity provider to a service provider. The service does not re-check the user's primary credentials at every application; it trusts the IdP's signed statement about identity, attributes, and access rights. That design is what enables SSO and centralised policy enforcement, but it also means the IdP becomes a high-value trust anchor. If assertion signing, audience restrictions, or attribute mapping are weak, the service provider may accept the wrong identity context. Practical implication: validate SAML assertion trust boundaries as carefully as you validate the application itself.

Practical implication: treat assertion validation, signing, and audience checks as core control requirements, not integration details.

Why SSO improves user experience but shifts governance risk

SSO reduces repeated credential entry by letting one authentication event unlock multiple services. From an architecture perspective, that is an efficiency gain, but it also consolidates dependency on a single identity event and the policies that surround it. Centralisation helps IT manage access rights when roles change, yet it can obscure whether every downstream service has the right offboarding logic, session lifetime, and access review cadence. The important distinction is that SAML federates authentication, not complete lifecycle governance. Practical implication: map which controls sit at the IdP and which must still be enforced by each service provider.

Practical implication: separate authentication federation from downstream lifecycle controls in your governance model.

Where SAML stops and NHI governance still has to start

The article focuses on user access, but the same federation pattern often sits alongside service accounts, API access, and other non-human identities. SAML can authenticate a person into a portal, but it does not by itself solve secret rotation, workload offboarding, or privileged non-human access behind the scenes. That is why identity teams should avoid treating federation as a complete access model. The federation layer may reduce password risk, yet machine and service identities still require their own inventory, ownership, and revocation discipline. Practical implication: do not let SSO coverage create a false sense of end-to-end identity governance.

Practical implication: keep service-account and workload identity governance separate from the human SAML experience.


Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

SAML federation concentrates trust, it does not eliminate trust. The control move is from repeated credential presentation to assertion-based acceptance, which means the IdP becomes the place where authentication confidence is created and then exported to every connected service. That is efficient, but it also makes the identity layer a shared dependency across the stack. Practitioners should treat federation as a governance boundary, not an access shortcut.

The security value of SAML is strongest when access lifecycle is already disciplined. Federation can simplify login flows and reduce password handling, but it does not by itself solve orphaned access, stale entitlements, or service-specific offboarding gaps. If the organisation relies on central sign-on while leaving downstream deprovisioning fragmented, the result is convenience without complete governance. The implication is that SSO maturity must be matched by lifecycle maturity.

Identity provider governance becomes a control-plane issue for both human and non-human access. Even though this article is framed around users, the same central trust pattern influences how teams think about service accounts, delegated access, and privileged pathways behind applications. A federation model that is strong for people can still leave machine identities invisible if teams assume the IdP covers everything. Practitioners should separate human authentication architecture from NHI governance.

Federation changes the failure mode from credential sprawl to trust concentration. Instead of many passwords, the system depends on fewer high-impact trust decisions, including assertion integrity, mapping accuracy, and revocation discipline. That shifts the question from 'how many credentials exist?' to 'where can a bad trust decision propagate?' The practical conclusion is that identity teams need controls for central trust points as well as local application access.

SAML federation is a useful control only when offboarding reaches the full trust chain. If a user leaves, a role changes, or an external relationship ends, the IdP and every relying service must reflect that change. Otherwise the federation layer keeps issuing valid access paths long after business context has changed. The practitioner takeaway is simple: central sign-in is not the same thing as complete access governance.

What this signals

Identity trust concentration is the real governance issue in SAML federation. As organisations centralise authentication, they also centralise the blast radius of misconfiguration, weak attribute mapping, or delayed deprovisioning. The control question changes from individual app sign-in to whether the trust anchor is governed tightly enough for every connected service.

SAML also exposes a recurring programme gap: teams often measure success by fewer passwords and smoother user experience, while overlooking the separate governance needed for service accounts and downstream revocation. That split matters because SSO can be healthy even when lifecycle control is not.

Trust anchor governance: Federation programmes need a named owner for the identity provider, assertion rules, and the downstream applications that consume them. Without that ownership model, the organisation gets central authentication but inconsistent enforcement at the edges.


For practitioners

  • Map the federation trust boundary Document which authentication decisions sit at the IdP and which access decisions still sit with each service provider, including attribute mapping and session lifetime rules.
  • Review offboarding across all relying services Check that joiner-mover-leaver changes propagate from the identity provider into every SAML-connected application, not only the main dashboard or primary SaaS tools.
  • Separate human SSO from NHI governance Inventory service accounts, tokens, and workload identities that are not covered by SAML and assign them distinct ownership, rotation, and revocation processes.
  • Validate assertion and attribute controls Test whether SAML assertions are signed, audience-restricted, and mapped to the correct entitlements before relying on them for privileged access decisions.

Key takeaways

  • SAML simplifies access by centralising authentication, but that same design concentrates trust in the identity provider and its assertions.
  • The main risk is governance drift, where offboarding, attribute mapping, and downstream access cleanup do not keep pace with the federation model.
  • Teams should govern SAML as part of a broader identity lifecycle programme that also covers service accounts and non-human identities.

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, NIST CSF 2.0, NIST Zero Trust (SP 800-207) and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-04 — Insecure AuthenticationSAML depends on the IdP assertion path being trustworthy for federated authentication.
Recommendation — Validate SAML authentication flows and assertion handling to keep federated trust from weakening access control.
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementFederation changes credential handling and reliance on central authenticator management.
Recommendation — Apply IA-5 to govern credential lifecycle and central authentication dependencies in SAML environments.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsThe article centres on how SAML affects access rights and authorisation decisions.
Recommendation — Use PR.AA-05 to align federated identity decisions with approved entitlements across connected services.
NIST Zero Trust (SP 800-207)5.2 — Logical Components and ResourcesSAML creates a trust boundary between the IdP and service providers that Zero Trust must account for.
Recommendation — Define trust boundaries and verification points so federation does not become an implicit access exception.
CIS Controls v8CIS-5 — Account ManagementThe article highlights simplified user management and offboarding across connected services.
Recommendation — Use CIS-5 to keep identity changes synchronized across SAML-connected applications and directories.

Key terms

  • SAML 2.0 Federation: SAML 2.0 federation is a standards-based way for one identity system to issue assertions that another application accepts for access. It decouples authentication from the application itself, so teams can centralize login while letting each application handle its own authorization logic.
  • SAML Assertion: A SAML assertion is the signed XML message that carries authentication and access claims from an identity provider to a service provider. It tells the receiving system who was authenticated, what attributes were shared, and whether access should be granted, so the trust in the session depends on the quality of that assertion.
  • Identity Provider: An identity provider is the system that authenticates a user or workload and issues the trust signal used by downstream applications. In federated environments, it becomes a high-value control point because compromise, misconfiguration, or over-trust at this layer can affect many services at once.
  • Service Provider: A service provider is the application or service that consumes an identity assertion and decides whether to allow access. It is responsible for validating the assertion, enforcing local authorisation, and limiting session scope, which means federation still requires strong downstream control.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM programme, it is worth exploring.
NHIMG Editorial Note
Published by the NHIMG editorial team on May 29, 2026.
Updated on October 8, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org