Commit 97faa2d
committed
fix(auth): Propagate cookie for SSR authentication
Ensures the `auth_token` cookie is correctly forwarded during Server-Side Rendering (SSR) when fetching user data. This addresses an issue where cookies were not reliably propagated, preventing proper authentication for the `/me` endpoint on SSR pages. Explicitly reads and attaches the `cookie` header to the fetch request.1 parent 83b7f8d commit 97faa2d
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | | - | |
| 67 | + | |
| 68 | + | |
66 | 69 | | |
67 | 70 | | |
68 | 71 | | |
| |||
0 commit comments