Spaces:
Kpd81
/
Sleeping

tao-shen Claude Opus 4.6 commited on
Commit
9a23aad
·
1 Parent(s): 1fc4864

fix: use server-side URL rewrite instead of 302 redirect for token injection

Browse files

302 redirect was unreliable in incognito mode — the browser followed
the redirect but OpenClaw's frontend sometimes failed to pick up the
token. Server-side rewrite injects the token directly into req.url
before OpenClaw processes it, eliminating the redirect round-trip.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

1 file changed +3 -4
scripts/token-redirect.cjs+3-4