fix(cli): add Origin header to auth requests #115

Merged
jason.woltje merged 1 commits from fix/cli-auth-origin into main 2026-03-15 17:03:43 +00:00
Owner

BetterAuth rejects requests without Origin header. CLI now sends Origin: gatewayUrl on sign-in and session validation.

BetterAuth rejects requests without Origin header. CLI now sends Origin: gatewayUrl on sign-in and session validation.
jason.woltje added 1 commit 2026-03-15 17:03:40 +00:00
fix(cli): add Origin header to auth requests
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
eab6cf51f9
BetterAuth rejects requests without an Origin header with 403
MISSING_OR_NULL_ORIGIN. CLI fetch calls now send Origin: gatewayUrl.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
jason.woltje merged commit ea524a6ba1 into main 2026-03-15 17:03:43 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaicstack/stack#115