SAML
Security Assertion Markup Language, one of the mainstream underlying protocols for enterprise SSO. Originating in 2002 and using XML as its data format, SAML is widely adopted by traditional enterprise identity providers such as Okta, ADFS, and Ping.
Core Facts
SSO (Single Sign-On) is an identity authentication mechanism that allows users to access multiple application systems using one set of credentials.
WorkOS is an infrastructure provider in the enterprise identity and access management space, offering SSO, directory sync, audit logs, and other capabilities to a large number of SaaS companies.
SAML is an XML-based identity federation protocol that conveys authentication and authorization information by having the IdP issue assertions to the SP, and is commonly used for enterprise single sign-on.
Timeline (last 90 days)
In SSO, the application (service provider, SP) does not store user passwords but instead redirects authentication requests to the IdP, which tells the SP the user's identity through a SAML assertion or OIDC token.
In a standard SSO flow, after a user accesses the application, they are redirected to the IdP to complete authentication, and the IdP then returns the identity result to the application via a SAML assertion or OIDC token.
SAML certificates are typically rotated annually or even less often, and rotation requires both the IdP and the SP to coordinate metadata updates.
After a SAML certificate expires, signature verification fails, and all SSO login flows that depend on that certificate are immediately interrupted.
The SAML assertion consumer service endpoint (ACS URL) must exactly match the receiving endpoint configured on the SP side, including protocol (usually https), domain, port, and path; any character difference will cause the assertion to fail to be delivered or to be rejected by the SP.
SAML conveys user identity and attributes in an XML-format assertion, which is usually signed by the IdP and pushed to the SP via the browser POST binding, and the SP must verify the signature and check conditions such as validity period and audience.
In a standard SP-initiated flow, the user starts sign-in from the application, is redirected to the IdP to complete authentication, and then returns with an assertion; the IdP-initiated flow is the opposite, where the user first clicks the application icon in the IdP dashboard and the IdP directly pushes a SAML assertion or OIDC token to the application.
In a SAML assertion, the email verification status may be expressed through an attribute statement or AuthnContext.
An identity assertion is structured data issued by the identity provider in an SSO callback, usually appearing in the form of a SAML assertion or an OIDC ID Token.
Both SAML and OIDC support single logout flows, but their implementations differ.
40 more timeline events
All Facts (20)
SSO (Single Sign-On) is an identity authentication mechanism that allows users to access multiple application systems using one set of credentials.
75%VerifiedWorkOS is an infrastructure provider in the enterprise identity and access management space, offering SSO, directory sync, audit logs, and other capabilities to a large number of SaaS companies.
70%VerifiedSAML is an XML-based identity federation protocol that conveys authentication and authorization information by having the IdP issue assertions to the SP, and is commonly used for enterprise single sign-on.
65%VerifiedSAML (Security Assertion Markup Language) has long been the de facto standard in the enterprise single sign-on (SSO) space.
65%VerifiedWorkOS is a technology company focused on providing enterprise-grade identity authentication and user management infrastructure for SaaS applications, with products covering core enterprise IT capabilities such as SSO (Single Sign-On), SCIM directory synchronization, and audit logs.
65%VerifiedOAuth 2.0专门处理授权委托,OpenID Connect在OAuth 2.0之上叠加身份验证层,SAML多用于企业联邦身份场景
65%UnverifiedSSO implementation typically relies on standard protocols such as SAML or OIDC, integrating with enterprise identity providers such as Okta, Azure AD, and Google Workspace.
70%UnverifiedThe reason EMA can consolidate authorization into the IdP is the premise that the enterprise has already unified employee identities with an IdP; after an application integrates with the IdP, user login follows the SAML or OpenID Connect standard, with identity assertions issued by the IdP.
60%UnverifiedA SAML response is digitally signed XML, and its signature verification and identity attribute extraction often use different XML parsers, different XPath expressions or different namespace handling, causing parser differential inconsistency.
60%UnverifiedWhen integrating SAML, one should strictly validate the signature scope of assertions, audience restrictions, validity time windows, and IdP origin.
60%UnverifiedSAML is built on top of XML and relies heavily on XML Digital Signatures (XML DSig) and XML Encryption.
60%UnverifiedSSO (Single Sign-On) allows users to access multiple applications through a unified authentication system.
60%UnverifiedIn SSO, the application (service provider, SP) does not store user passwords but instead redirects authentication requests to the IdP, which tells the SP the user's identity through a SAML assertion or OIDC token.
50%UnverifiedIn a standard SSO flow, after a user accesses the application, they are redirected to the IdP to complete authentication, and the IdP then returns the identity result to the application via a SAML assertion or OIDC token.
50%UnverifiedAfter a SAML certificate expires, signature verification fails, and all SSO login flows that depend on that certificate are immediately interrupted.
50%UnverifiedSAML certificates are typically rotated annually or even less often, and rotation requires both the IdP and the SP to coordinate metadata updates.
50%UnverifiedThe SAML assertion consumer service endpoint (ACS URL) must exactly match the receiving endpoint configured on the SP side, including protocol (usually https), domain, port, and path; any character difference will cause the assertion to fail to be delivered or to be rejected by the SP.
50%UnverifiedIn a standard SP-initiated flow, the user starts sign-in from the application, is redirected to the IdP to complete authentication, and then returns with an assertion; the IdP-initiated flow is the opposite, where the user first clicks the application icon in the IdP dashboard and the IdP directly pushes a SAML assertion or OIDC token to the application.
50%UnverifiedSAML conveys user identity and attributes in an XML-format assertion, which is usually signed by the IdP and pushed to the SP via the browser POST binding, and the SP must verify the signature and check conditions such as validity period and audience.
50%UnverifiedAn identity assertion is structured data issued by the identity provider in an SSO callback, usually appearing in the form of a SAML assertion or an OIDC ID Token.
50%