Understand how SSO works, the protocols involved, and how to choose an integration approach.
Single Sign-On is the most frequently requested requirement by organizations looking to adopt new SaaS applications. SSO enables authentication via an organization’s identity provider (IdP).
The WorkOS SSO service is compatible with any IdP that supports either the SAML or OIDC protocols. It is modeled to meet the OAuth 2.0 framework specification, abstracting away the underlying authentication handshakes between different IdPs.

The WorkOS SSO API acts as authentication middleware and intentionally does not handle user database management for the application. This separation allows it to integrate with any existing auth stack.
The standalone API is designed for integrating into an existing auth stack. It gives full control over the SSO flow and is covered in the SSO Quick Start.
AuthKit is a complete authentication platform that includes SSO out of the box. It handles user management, session tokens, and multiple authentication methods in addition to SSO. For most new applications, AuthKit is the recommended approach.