mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
Three smaller pieces that unlock e2e testing: - .github/workflows/e2e-api-tests.yaml: starts mock-saml-idp on port 8115 alongside mock-oauth-server, with /idp as the readiness probe. Root package.json adds start:mock-saml-idp script and includes the mock in dev:basic. - apps/e2e/tests/snapshot-serializer.ts: strips SAMLRequest / SAMLResponse / RelayState query+form params, adds stack-saml-inner- to keyed cookie name prefixes (so the per-AuthnRequest CSRF cookie doesn't reroll snapshots), and adds regex replacements for SAML xs:ID identifiers and IssueInstant/NotBefore/NotOnOrAfter timestamps. - apps/backend/src/lib/seed-dummy-data.ts: STACK_SEED_ENABLE_SAML=true pre-creates acme + globex SAML connections on the dummy project, fetching the IdP metadata from the running mock at seed time so the seeded cert matches what the mock generated at startup. The mock regenerates keys per restart, so re-seed if you restart it. Mock URL configurable via STACK_MOCK_SAML_URL (default localhost:8115). |
||
|---|---|---|
| .. | ||
| all-good.yaml | ||
| auto-assign.yaml | ||
| auto-update.yaml | ||
| check-prisma-migrations.yaml | ||
| claude.yml | ||
| db-migration-backwards-compatibility.yaml | ||
| docker-server-build-push.yaml | ||
| docker-server-build-run.yaml | ||
| e2e-api-tests-local-emulator.yaml | ||
| e2e-api-tests.yaml | ||
| e2e-custom-base-port-api-tests.yaml | ||
| e2e-fallback-tests.yaml | ||
| lint-and-build.yaml | ||
| mirror-to-wdb.yaml | ||
| npm-publish.yaml | ||
| qemu-emulator-build.yaml | ||
| reviewers-assignees.yml | ||
| setup-tests-with-custom-base-port.yaml | ||
| setup-tests.yaml | ||
| swift-sdk-publish.yaml | ||
| sync-main-to-dev.yml | ||
| table-of-contents.yaml | ||