Commit 156410f
fix(cloud/api): make legacy /api/v1/proxy/birdeye redirect public
The legacy birdeye proxy mount returns a 308 redirect to /api/v1/apis/birdeye/*
so old clients can discover the new URL. With the path missing from
publicPathPrefixes, auth middleware ran first and returned 401 before the
redirect could fire, breaking the e2e contract:
Group H — GET /api/v1/proxy/birdeye/* > legacy mount redirects to
/api/v1/apis/birdeye (308): Expected 308, Received 401
The redirect target /api/v1/apis/birdeye is still auth-gated (the next test
in the same group covers that), so making the legacy mount public only
exposes the URL rewrite, not the proxy itself.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent ca3bf5c commit 156410f
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
61 | 65 | | |
62 | 66 | | |
63 | 67 | | |
| |||
0 commit comments