Glossary
SAML 2.0: how SAML authentication and SSO work
SAML 2.0 explained: how an identity provider signs an assertion, how the service provider validates it, and how an SP-initiated SSO sign-in works.
SAML 2.0 (Security Assertion Markup Language) is an OASIS standard for exchanging authentication data in XML. An identity provider (IdP), such as Okta or Microsoft Entra ID, signs an assertion saying who the user is; a service provider (SP) checks the signature and signs the user in. Companies use it to offer single sign-on to the applications their employees use.
How a sign-in works
In an SP-initiated flow, the application sends the browser to the IdP with an authentication request. The IdP authenticates the user and posts a signed response back to the application's assertion consumer service (ACS) URL. The application must then validate the signature, the audience, the recipient, the time window and that the response answers a request it actually sent.
In Ostiary
Ostiary is a SAML service provider for enterprise SSO, next to OpenID Connect providers. Platform admins register a customer's IdP in the admin console, and it takes sign-ins once its email domain is verified with a DNS record. See SAML SSO and organizations for B2B apps for the checks Ostiary applies to every response.