Skip to content

fix: org-selecion -> org-selection route typo causing blank page post-login - #53

Merged
chintondutta merged 1 commit into
mainfrom
fix/org-selection-route-typo
Aug 11, 2026
Merged

fix: org-selecion -> org-selection route typo causing blank page post-login#53
chintondutta merged 1 commit into
mainfrom
fix/org-selection-route-typo

Conversation

@chintondutta

Copy link
Copy Markdown
Contributor

The bug

After a fully successful sign-in (including 2FA), new users with no organization yet saw a blank page instead of the org selection screen.

Root cause

`proxy.ts` redirects signed-in users without an org to `/org-selection`, but the actual page folder was spelled `org-selecion` (missing the second "t"). The redirect target never matched any real route, so it landed on a URL with no corresponding page.

This likely went uncaught because most testing focused on getting Clerk/Convex auth to complete successfully, not on what happens immediately after for a brand-new user with no org assigned yet.

Fix

Renamed the folder to match the correct spelling (which the dynamic segment `[[...org-selection]]` already used correctly, just the parent folder had the typo).

Verified: typecheck and build clean, route now correctly resolves as `/org-selection/[[...org-selection]]`.

proxy.ts redirects users who are signed in but have no organization
yet to /org-selection - but the actual page folder was spelled
org-selecion (missing the second 't'). The redirect target and the
real route never matched, so any newly-signed-in user without an org
would land on a URL with no corresponding page - blank/broken page
right after a fully successful sign-in, including 2FA.

This was likely never caught before because most testing focused on
Clerk/Convex auth completing successfully, not what happens
immediately after for a user who doesn't have an org assigned yet.

Verified: apps/web typecheck and build clean, route now correctly
shows as /org-selection/[[...org-selection]].
@vercel

vercel Bot commented Aug 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
solvia-web Ready Ready Preview Aug 11, 2026 6:28pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
solvia-widget Skipped Skipped Aug 11, 2026 6:28pm

@chintondutta
chintondutta merged commit 604dce5 into main Aug 11, 2026
4 checks passed
@chintondutta
chintondutta deleted the fix/org-selection-route-typo branch August 11, 2026 18:29
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