Skip to content

onetimesecret/ssowhat.dev

Repository files navigation

ssowhat.dev

Interactive visualizations of enterprise SSO authentication flows. Step through every redirect, cookie, and token exchange to see what actually happens when a user clicks "Sign in with SSO."

Live site: ssowhat.dev

What this is

Each demo walks through a complete authentication flow step by step, showing what the user sees in the browser alongside the HTTP exchanges happening behind the scenes. Decoded SAML assertions, JWT tokens, and protocol details are shown at each stage.

The example application is Onetime Secret (OTS) — an open-source tool for sharing sensitive information via self-destructing links. It serves as a realistic stand-in for any web application adding SSO support.

Available demos

Demo Protocols Architecture
Enterprise SAML for Modern Apps OIDC, SAML Caddy + Logto bridge OIDC to SAML with Entra ID
SP-Initiated SAML with Okta SAML 2.0 OTS redirects to Okta, assertion posted back
OAuth2 Social Login with Google OAuth 2.0, OIDC Authorization Code Flow with PKCE via Google

Planned: SCIM provisioning flows, multi-IdP federation patterns.

Running locally

pnpm install
pnpm dev

Open localhost:5184.

Building

pnpm build
pnpm preview

Produces a fully static site in build/ via @sveltejs/adapter-static.

Creating a new demo

Copy the template and customize:

cp -r src/lib/sso-demos/_template src/lib/sso-demos/your-demo-name

Then create a route at src/routes/your-demo-name/+page.svelte. See the component docs for the full guide.

Tech stack

License

MIT — Onetime Secret Inc

About

Interactive SSO authentication flow demos

Topics

Resources

License

Stars

Watchers

Forks

Contributors