Description
Rate-limit SEP-10 challenge/verify; allow configured frontend origin so creator app can call API locally/prod.
User Story
As a Maintainer,
I want auth usable from the creator frontend safely,
so that SEP-10 login works without wide-open abuse.
Requirements and Context
- Files:
backend/src/auth/, main.ts, .env.example
CORS_ORIGINS; throttle on /auth/*; docs for NEXT_PUBLIC_API_URL
Suggested Implementation
// ThrottlerModule on auth routes
// enableCors({ origin: process.env.CORS_ORIGINS?.split(',') })
Acceptance Criteria
Submission Guidelines
- Branch:
feat/be-creator-auth-cors
- Depends on:
None
- PR:
feat(backend): rate limit auth and CORS for creator FE
Description
Rate-limit SEP-10 challenge/verify; allow configured frontend origin so creator app can call API locally/prod.
User Story
As a Maintainer,
I want auth usable from the creator frontend safely,
so that SEP-10 login works without wide-open abuse.
Requirements and Context
backend/src/auth/,main.ts,.env.exampleCORS_ORIGINS; throttle on/auth/*; docs forNEXT_PUBLIC_API_URLSuggested Implementation
Acceptance Criteria
.env.example+ README updatedSubmission Guidelines
feat/be-creator-auth-corsNonefeat(backend): rate limit auth and CORS for creator FE