Commit 25ef386
Expose WWW-Authenticate and X-Request-ID in CORS headers (v0.6.2)
Browsers cannot read non-safelisted response headers from cross-origin
responses unless they appear in Access-Control-Expose-Headers. Always
expose WWW-Authenticate (needed for OAuth discovery from 401 responses)
and X-Request-ID (for client-side debugging) when CORS is enabled.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent ff6f995 commit 25ef386
4 files changed
Lines changed: 22 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1114 | 1114 | | |
1115 | 1115 | | |
1116 | 1116 | | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
1117 | 1127 | | |
1118 | 1128 | | |
1119 | 1129 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2132 | 2132 | | |
2133 | 2133 | | |
2134 | 2134 | | |
2135 | | - | |
| 2135 | + | |
| 2136 | + | |
| 2137 | + | |
2136 | 2138 | | |
2137 | 2139 | | |
2138 | 2140 | | |
| |||
2162 | 2164 | | |
2163 | 2165 | | |
2164 | 2166 | | |
2165 | | - | |
2166 | | - | |
2167 | | - | |
| 2167 | + | |
| 2168 | + | |
| 2169 | + | |
| 2170 | + | |
2168 | 2171 | | |
2169 | 2172 | | |
2170 | 2173 | | |
| |||
0 commit comments