fix: pass CSRF token to switch-context call in refresh route #44

Merged
uz1mani merged 2 commits from staging into main 2026-03-13 10:41:03 +00:00

2 Commits

Author SHA1 Message Date
Usman Baig
57e43b1b4f Merge branch 'main' into staging 2026-03-13 11:30:05 +01:00
Usman Baig
2d3388546f fix: pass CSRF token to switch-context call in refresh route
The auth API requires CSRF tokens on POST requests. The switch-context
call was failing silently with 403, causing refreshed tokens to lack
org_id.
2026-03-13 11:29:45 +01:00