Commit 9138536
fix(runtime): force requireAuth on ObjectOS multi-tenant host
Auto-enable based on tierEnabled('auth') only triggers when the host
stack declares the auth tier. On ObjectOS the auth tier lives inside
each per-project artifact (via AuthProxyPlugin), so the host stack's
tier list is empty and requireAuth defaulted to false — leaving
anonymous /api/v1/data/* open on CF (reproduced live at crm.objectos.app).
Force api.requireAuth: true in createObjectOSStack so anonymous data
access on the host returns 401 regardless of how individual project
artifacts declare auth. Also bumps wrangler image tag.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 7dcde27 commit 9138536
2 files changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
240 | 246 | | |
241 | 247 | | |
242 | 248 | | |
0 commit comments