SAML 2.0 Authentication

Pick a flow and watch each message move between the Principal's User Agent, the Service Provider and the Identity Provider. The sequence diagram and the architecture diagram each play on their own controls, and the sample HTTP and SAML XML tiles follow whichever one you used last.

Sequence

Who sends what, in order.

Architecture

The same flow drawn as components, with its own controls and timer. It loops on its own clock, separate from the sequence diagram. Step numbers match the sequence diagram, and a moving dot shows the current message.

Glossary of Terms

Every SAML term used on this page, with a short definition and where to read more. Okta documentation is linked first (developer.okta.com). Terms Okta does not document link to the OASIS SAML 2.0 specification or cite the standard by name.

    Okta Documentation Used

    OASIS specifications: SAML Core, Bindings, Profiles, Metadata, Glossary and Authentication Context (SAML V2.0, March 2005). Section numbers were checked against each document's table of contents. Okta's pages may change; check current Okta documentation before relying on them.

    All hostnames, entity IDs, certificates and signature values are made-up samples; every signature, digest and certificate is a placeholder and would not verify. The encoded SAMLRequest and SAMLResponse values are real encodings of the sample XML shown. Okta URLs follow the pattern Okta uses for SAML app integrations (/app/{appName}/{id}/sso/saml). Sequences are illustrative, so check Okta's developer documentation for exact behavior in your org. Section numbers refer to the OASIS SAML 2.0 specifications (Core, Bindings, Profiles, Metadata); confirm them against the spec before quoting them.