Security & Privacy

SAML

Also known as: SAML 2.0, SSO, SAML assertion, IdP, SP, enterprise SSO

SAML (Security Assertion Markup Language) is the older enterprise standard for Single Sign-On.

When you log in via your company's identity provider and get redirected to a business application, SAML is often the protocol exchanging authentication credentials behind the scenes. It predates modern REST APIs and uses XML and browser redirects.

SAML, explained at three levels

At home

SAML is the technology behind many corporate 'single sign-on' logins. When you click a link to your company's HR software and it automatically logs you in without asking for a password, SAML passed proof of your identity from your company's login system to the HR software.

At work

Enterprise software uses SAML to let employees log in using their company credentials. Instead of creating separate accounts in every SaaS tool, IT connects each tool to the company's identity provider (Microsoft Entra ID, Okta) via SAML. Login works automatically for authenticated employees.

Real-world examples

At home

Marcus clicks 'Open Workday' in his company's Okta dashboard. Okta generates a SAML assertion signed with its private key and posts it to Workday. Workday validates the signature against Okta's stored certificate and logs Marcus in as his user account: no password entry.

At work

Lena's company IT team onboards a new HR tool. They configure SAML by downloading the tool's SP metadata, uploading it to Okta, and providing the Okta IdP metadata URL to the vendor. After attribute mapping (linking 'email' attribute to the tool's 'User Login' field), employees can log in with their company credentials.

How it compares

featureSAMLOIDC
Token formatXML assertionJSON (JWT)
TransportBrowser redirect / form POSTREST API (JSON)
Mobile-friendlyPoor (browser-dependent)Yes (API-based)
Enterprise adoptionVery high (legacy apps)High (modern apps)
ConfigurationXML metadata exchangeJSON discovery document
Created2002/20052014

For analysts

SAML is directly relevant when onboarding new SaaS tools to corporate SSO: BAs leading vendor evaluations should ask whether the tool supports SAML 2.0 (standard) or requires a separate login, which creates an access management burden.

History & origin

SAML 1.0 was developed by OASIS in 2002 and SAML 2.0 released in 2005, targeting enterprise web application SSO at a time when XML web services were the standard. SAML became the dominant enterprise SSO protocol, embedded in almost every major SaaS application (Salesforce, Workday, ServiceNow). The rise of mobile apps and REST APIs favoured OIDC's JSON-based approach for new development, but SAML remains deeply entrenched in enterprise environments with large installed bases of legacy integrations.