Skip to content

fix(web): dev proxy presents the hub origin to Better Auth (CL-8409) - #854

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-8409-dev-proxy-origin
Sep 18, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
cl-8409-dev-proxy-origin

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Since the hub became API-only the Vite dev server proxies /api but forwarded Origin: http://localhost:5173, which Better Auth rejects as an invalid origin, so every local sign-in failed. The proxy now rewrites Origin to the hub's BASE_URL. Hub configuration untouched.

@linear-code

linear-code Bot commented Sep 18, 2026

Copy link
Copy Markdown

CL-8409

@TheGreatAxios
TheGreatAxios merged commit 419bc06 into main Sep 18, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant