echos-ocr/src/app/(dashboard)
Randall Stillwell 4db78b7176 Fix workspace-setup redirect loop after org creation
The JWT callback was optimized to only query the DB on sign-in or
explicit session update, but the middleware reads the JWT cookie which
was stale after org changes. Reverted to always refreshing org data in
the JWT callback (matching original behavior). Also switched workspace-
setup and onboarding completion to hard navigation to guarantee the
middleware re-evaluates with the latest JWT cookie.

Made-with: Cursor
2026-04-16 19:10:41 -05:00
..
cards Fix admin role check to include owner role 2026-04-16 00:22:32 -05:00
events Add SaaS foundation: Auth.js, dashboard shell, org model, auto-assignment 2026-04-14 23:59:38 -05:00
onboarding Fix workspace-setup redirect loop after org creation 2026-04-16 19:10:41 -05:00
people Add SaaS foundation: Auth.js, dashboard shell, org model, auto-assignment 2026-04-14 23:59:38 -05:00
profile Add SaaS foundation: Auth.js, dashboard shell, org model, auto-assignment 2026-04-14 23:59:38 -05:00
reports Add SaaS foundation: Auth.js, dashboard shell, org model, auto-assignment 2026-04-14 23:59:38 -05:00
settings Add multi-workspace support with org switcher and open registration 2026-04-16 18:08:08 -05:00
layout.tsx Add SaaS foundation: Auth.js, dashboard shell, org model, auto-assignment 2026-04-14 23:59:38 -05:00
page.tsx Add onboarding wizard, email verification, integration architecture, and settings restructure 2026-04-15 01:29:13 -05:00