Commit 681ab74
fix(auth): resolve 401 errors caused by cookie loss during 307 redirects
Add proxy-headers and forwarded-allow-ips to uvicorn so it reads
X-Forwarded-Proto from Traefik and uses the correct https scheme in
redirect URLs. Fix JS API calls to use trailing-slash URLs, avoiding
the 307 redirect that was dropping the Secure session cookie.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 6534a32 commit 681ab74
3 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments