Commit Graph
4 Commits
Author SHA1 Message Date
zeekay 8560d6dd16 fix: use /oauth/authorize for MPC login, rename app in IAM DB
- Changed login redirect from /login to /oauth/authorize (standard OAuth2
  authorization endpoint)
- IAM app renamed from app-lux-mpc to lux-mpc so implicit flow resolves
  correctly (Casdoor uses client_id as app name lookup)
- Updated E2E tests to match new OAuth flow
2025-12-27 12:18:39 -08:00
zeekay 1eae86833c fix: OAuth login URL uses /login endpoint, update E2E selectors to match Lux ID form
- Login redirect uses /login instead of /oauth/authorize (matches actual
  Casdoor login page URL that renders the form)
- E2E tests updated to use correct field placeholders (Email, Password)
  and button text (Sign In) matching the Lux ID login component
- Exempt /healthz from rate limiting to prevent K8s probe failures
2025-12-27 11:25:41 -08:00
zeekay 52d8d964d6 fix: OAuth callback handles query string tokens, correct authorize endpoint
- Callback page now checks both hash fragment and query string for
  access_token (Casdoor returns it in query string, not hash)
- Login redirect uses /oauth/authorize instead of /login/oauth/authorize
- Add hanzo.id to default OIDC issuers in MPC API
- Update E2E tests to match corrected authorize URL
2025-12-27 11:19:03 -08:00
zeekay 0232b7df72 feat: standalone mpc-api deployment, implicit OAuth flow, E2E tests
- Separate mpc-api into its own Deployment with --cluster-url proxy to mpc-node-0
- Switch OAuth from authorization code flow to implicit flow (response_type=token)
- Add Playwright E2E tests for Lux ID login flow and OIDC discovery
- Update CI to apply api-deployment.yaml and wait for mpc-api rollout
2025-12-27 10:59:11 -08:00