proposal-system/infra
Adam Moussa ae3ad9d823
Some checks failed
Deploy / Deploy to AWS (push) Has been cancelled
fix: CORS, JWT auth, useBlocker crash, and auto-migration for production deploy
- Add CloudFront origin to API Gateway CORS preflight and .NET CORS policy
- Replace HttpMethod.ANY with explicit methods so OPTIONS preflight doesn't
  hit the JWT authorizer (was causing 403 on all API calls)
- Return Cognito ID token instead of access token from auth callback
  (access tokens lack the aud claim required by API Gateway JWT authorizer)
- Add CloudFront callback URI to allowed redirect list
- Remove identity_provider=Google from login URL to show Cognito hosted UI
- Replace useBlocker (requires data router) with state-based navigation guard
  to fix crash on AdminWorkspace with BrowserRouter
- Add auto-migration on Lambda cold start
- Enable Swagger in production
2026-05-27 19:20:29 -04:00
..
bin Merge main into feature/fix-phase-2, resolve infra conflicts 2026-05-20 19:09:35 -04:00
lib fix: CORS, JWT auth, useBlocker crash, and auto-migration for production deploy 2026-05-27 19:20:29 -04:00
cdk.context.json Initial scaffold: monorepo structure, CDK stacks, CI/CD, domain model 2026-05-16 18:40:46 -04:00
cdk.json Initial scaffold: monorepo structure, CDK stacks, CI/CD, domain model 2026-05-16 18:40:46 -04:00
package-lock.json Bump aws-cdk-lib from 2.253.1 to 2.257.0 in /infra (#58) 2026-05-23 04:34:11 +00:00
package.json fix(infra): scope Bedrock model ARN, AOSS permissions, require deploy approval (INF-M1, M2, M9) 2026-05-27 18:18:44 -04:00
tsconfig.json Initial scaffold: monorepo structure, CDK stacks, CI/CD, domain model 2026-05-16 18:40:46 -04:00