feat: allow-list auth0-client header for forwarding#2668
Conversation
UI Components telemetry header was stripped in RWA proxy mode, causing zero visibility for all proxy-routed traffic. Unblocks universal-components team from shipping adoption analytics.
📝 WalkthroughWalkthroughThis PR adds ChangesAuth0 Client Telemetry Header Forwarding
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2668 +/- ##
=======================================
Coverage 89.85% 89.85%
=======================================
Files 72 72
Lines 8809 8810 +1
Branches 1874 1875 +1
=======================================
+ Hits 7915 7916 +1
Misses 881 881
Partials 13 13 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Add
auth0-clienttoDEFAULT_HEADER_ALLOW_LISTin proxy utility.This enables sending adoption telemetry from universal components.
Changes
utils/proxy.ts: add"auth0-client"to the forwarding allow-listsrc/utils/proxy.test.ts: 5 new tests covering forwarding, casing, absence, coexistence with other headers, and value preservation