stack/examples/demo
Bilal Godil 958407d0c3 feat(examples/demo): add SAML SSO demo page
examples/demo/src/app/saml-demo/page.tsx — manual end-to-end check for
the SAML round-trip. Two flows:

1. Email-domain discovery: enter alice@acme.test, click "Sign in via
   SSO". The SDK calls getSamlConnectionForEmail then redirects via
   the matched connection.

2. Direct connection ID: per-tenant buttons that call signInWithSaml
   with explicit connectionId (the pattern most B2B login pages use
   when they brand each tenant separately).

Page also shows the current signed-in state + an SDK snippet so a
developer can see exactly what to copy. Pairs with seed-dummy-data's
STACK_SEED_ENABLE_SAML=true block which pre-creates the matching
acme + globex connections.
2026-04-29 16:47:16 -07:00
..
public Reworked Stack Auth demo (#624) 2025-04-15 02:03:07 +00:00
src feat(examples/demo): add SAML SSO demo page 2026-04-29 16:47:16 -07:00
.env updated self host vars, reduced the number of required env vars 2024-12-08 16:29:08 -08:00
.env.development New { type: "hosted" } for page URLs (#1261) 2026-03-27 14:48:01 -07:00
.eslintrc.js tsup for stack-shared (#647) 2025-04-28 21:26:52 -07:00
.gitignore Move examples to their own folder (#77) 2024-06-16 14:58:10 +02:00
cli-sim.mjs feat: add anonRefreshToken to CLI auth flow and enhance session management (#1303) 2026-04-14 02:09:35 +00:00
LICENSE Move examples to their own folder (#77) 2024-06-16 14:58:10 +02:00
next.config.js Upgrade Prisma to v7 (#1064) 2025-12-26 08:13:34 -08:00
package.json chore: update package versions 2026-04-20 19:06:56 -07:00
postcss.config.js Move examples to their own folder (#77) 2024-06-16 14:58:10 +02:00
tailwind.config.js Support create-next-app@15 with the setup wizard (#340) 2024-11-13 13:58:42 +01:00
tsconfig.json New client (#135) 2024-07-19 22:07:44 -07:00