mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-16 21:08:38 +08:00
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. |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .env | ||
| .env.development | ||
| .eslintrc.js | ||
| .gitignore | ||
| cli-sim.mjs | ||
| LICENSE | ||
| next.config.js | ||
| package.json | ||
| postcss.config.js | ||
| tailwind.config.js | ||
| tsconfig.json | ||