Docs / Pages
Post-login routing
The /post-login page that decides where a signed-in person goes next, by role and organization.
/post-login shows a loading shell and then redirects in the browser, based on GET /v1/session/post-login (optionally with next). If it takes about three seconds the page offers a manual link.
Decision order#
- A customer (
APPLICANT) with no organization and who is not staff goes to/onboarding. - Otherwise a safe
nextpath (starts with a single/, no backslash) wins. - Otherwise the role decides:
| Role | Lands on |
|---|---|
APPLICANT | /contractor/dashboard |
REFERENCE (legacy accounts) | /reference-portal |
PLATFORM_ADMIN, PLATFORM_SUPER_ADMIN | /platform |
every vendor-side role (ORG_ADMIN, CREDIT_MANAGER, SALES_MANAGER, ACCOUNT_ADMIN, VENDOR_USER, ADMIN) and legacy marketplace roles | /applications |
A user with no role gets "no_role" and is sent back to /login.