Skip to content

fix(auth): keep callback redirects on the public domain - #4

Merged
cubetribe merged 1 commit into
mainfrom
fix/auth-callback-origin
Nov 7, 2026
Merged

cubetribe merged 1 commit into
mainfrom
fix/auth-callback-origin

Conversation

@cubetribe

Copy link
Copy Markdown
Collaborator

After a successful email login, the reverse-proxied app redirected users to https://localhost:3218/onboarding. Missing or expired links also inherited the internal host.

Return fixed relative 307 locations for both outcomes, preserving the session exchange and cookies while ignoring Host/Forwarded headers and user-supplied return URLs. Responses remain private and uncached.

Validation: 15 tests pass, including five callback regressions; typecheck, lint and production build pass. No schema, dependency or version changes. Release impact: patch; deployment verification recorded separately.

@cubetribe
cubetribe merged commit 39a73b0 into main Nov 7, 2026
2 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