managarten/services/mana-core-auth/src
Wuesteon 3504172e60 feat(cors): add cross-app communication bundle
Add includeAllManaApps option to enable all ManaCore apps to communicate
with each other without manually listing each app's domains.

**Changes:**
- Added MANACORE_STAGING_ORIGINS, MANACORE_PRODUCTION_ORIGINS, and
  MANACORE_ALL_APP_ORIGINS constants
- Added includeAllManaApps flag to CorsConfigOptions interface
- Updated createCorsConfig() and createCorsConfigWithCallback() to support
  the new flag
- Updated mana-core-auth to use includeAllManaApps: true (auth needs to be
  accessible by all apps)
- Updated documentation with usage examples and decision matrix

**Benefits:**
- One-line configuration enables cross-app communication
- Automatically stays in sync as new apps are added
- No need to manually update CORS_ORIGINS for each app
- Works in both staging and production environments

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-17 18:11:13 +01:00
..
__tests__/utils Fix wrong type 2025-12-04 23:25:25 +01:00
ai 🐛 fix(auth): remove type-only import of ConfigService in AiService 2025-12-04 19:08:37 +01:00
auth 1. Brevo email integration (API key, sender settings) 2025-12-16 21:12:25 +01:00
common debug(auth): add detailed logging to JwtAuthGuard 2025-12-08 22:52:59 +01:00
config 1. Brevo email integration (API key, sender settings) 2025-12-16 21:12:25 +01:00
credits Fix wrong type 2025-12-04 23:25:25 +01:00
db refactor(auth): remove themes module from mana-core-auth 2025-12-12 02:35:18 +01:00
email feat(auth): add Brevo email integration for password reset and org invites 2025-12-16 03:33:15 +01:00
feedback Fix wrong type 2025-12-04 23:25:25 +01:00
health fix route 2025-12-05 00:50:23 +01:00
referrals feat(auth): add fraud detection, cron jobs, and admin endpoints to referral system 2025-12-07 16:09:39 +01:00
settings feat(settings): add device-specific settings storage 2025-12-11 23:49:18 +01:00
tags feat: major update with network graphs, themes, todo extensions, and more 2025-12-10 02:37:46 +01:00
app.module.ts feat(auth): add Brevo email integration for password reset and org invites 2025-12-16 03:33:15 +01:00
main.ts feat(cors): add cross-app communication bundle 2025-12-17 18:11:13 +01:00