Parent Goal: #1
Depends on: #3, https://github.com/Cubid-Me/cubid-monorepo/issues/54, and Cubid-Me/cubid-sdk#37
Blocks: Sprint completion
Objective
Complete the end-to-end production SIWC/OIDC flow through the deployed starter and turn its essential contract into repeatable smoke coverage.
Expected Surfaces
- Hosted
starter.cubid.me, id.cubid.me, and login.cubid.me/allow.
- Starter smoke/acceptance tests and CI/deployment workflow.
- Ordered redacted trace UI and GitHub evidence.
Scope
- Test first-run state, normal SSO, force login, force consent, callback, token/userinfo, starter session, starter-only logout, state mismatch, missing config, and redaction.
- Use a marked throwaway test identity/client; never a production user's credential.
- Assert the canonical UI marker and SIWC route contract so wrong-project deployments fail.
- Capture screenshots or browser evidence for sign-in, consent, success/session, trace, and logout states.
- Add a recurring or post-deploy smoke that avoids exposing secrets and fails clearly on external blockers.
Non-Goals
- Automated handling of CAPTCHAs or personal WebAuthn credentials.
- Persisting tokens or test-user PII in CI artifacts.
- SDK publication.
Guardrails
- Redact tokens, codes, verifier, nonce, cookies, wallet keys, and PII.
- Verify exact issuer, redirect URI, state, nonce, PKCE, and app-scoped subject behavior.
- Stop on account, quota, billing, permission, or hosted-service failures.
Acceptance Criteria
- A real registered-client flow completes Authorization Code + PKCE, Login/SSO, consent, callback, token/userinfo, session, and starter-only logout.
- Force-login and force-consent behavior is demonstrated.
- Negative state/config paths fail safely.
- The visible trace is ordered and redacted.
- Automated smoke detects the previously observed obsolete deployment and missing-route failure.
Validation Plan
Run starter lint/typecheck/build/tests, hosted HTTP checks, and independent real-browser smoke with screenshots or equivalent visual evidence.
Stop Condition
Commit smoke/test/evidence changes with required logging, attach the redacted hosted evidence, and stop when the parent Sprint can be handed to final vetting/implementation review.
Parent Goal: #1
Depends on: #3, https://github.com/Cubid-Me/cubid-monorepo/issues/54, and Cubid-Me/cubid-sdk#37
Blocks: Sprint completion
Objective
Complete the end-to-end production SIWC/OIDC flow through the deployed starter and turn its essential contract into repeatable smoke coverage.
Expected Surfaces
starter.cubid.me,id.cubid.me, andlogin.cubid.me/allow.Scope
Non-Goals
Guardrails
Acceptance Criteria
Validation Plan
Run starter lint/typecheck/build/tests, hosted HTTP checks, and independent real-browser smoke with screenshots or equivalent visual evidence.
Stop Condition
Commit smoke/test/evidence changes with required logging, attach the redacted hosted evidence, and stop when the parent Sprint can be handed to final vetting/implementation review.