WorkClub Automation
ffc4062eba
fix: exempt /api/clubs/me from tenant validation
...
- Add path exemption in TenantValidationMiddleware for /api/clubs/me
- Change authorization policy from RequireMember to RequireViewer
- Fix KEYCLOAK_CLIENT_ID in docker-compose.yml (workclub-app not workclub-api)
- Endpoint now works without X-Tenant-Id header as intended
- Other endpoints still protected by tenant validation
This fixes the chicken-and-egg problem where frontend needs to call
/api/clubs/me to discover available clubs before selecting a tenant.
2026-03-05 21:32:37 +01:00
..
2026-03-05 19:22:55 +01:00
2026-03-05 19:22:55 +01:00
2026-03-05 14:21:44 +01:00
2026-03-05 11:22:04 +01:00
2026-03-05 14:21:44 +01:00
2026-03-05 14:21:44 +01:00
2026-03-05 14:21:44 +01:00
2026-03-05 11:22:04 +01:00
2026-03-05 14:21:44 +01:00
2026-03-05 14:21:44 +01:00
2026-03-05 14:21:44 +01:00
2026-03-05 19:22:55 +01:00
2026-03-05 14:21:44 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 11:07:08 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 19:22:55 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 14:21:44 +01:00
2026-03-05 14:21:44 +01:00
2026-03-05 19:22:55 +01:00
2026-03-05 11:07:08 +01:00
2026-03-05 11:07:08 +01:00
2026-03-05 14:21:44 +01:00
2026-03-05 14:21:44 +01:00
2026-03-05 14:21:44 +01:00
2026-03-05 19:22:55 +01:00
2026-03-05 19:22:55 +01:00
2026-03-05 19:22:55 +01:00
2026-03-05 19:22:55 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 11:07:08 +01:00
2026-03-05 11:07:08 +01:00
2026-03-05 14:21:44 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00
2026-03-05 21:32:37 +01:00