Authenticated surface

User Home

Pretend this page is wrapped with a session check. Drop in WorkOS AuthKit helpers to hydrate currentUser data, then personalize everything below.

Workspace Overview

Summaries, quick links, and optional organization switcher once AuthKit provides org context.

Recent Activity

Audit log feed or simple timeline. Attach WorkOS Directory Sync data later if needed.

Security Status

Show MFA enrollment or session freshness indicators once WorkOS data is available.

Stubbed guard

Replace this placeholder with a real guard, e.g. fetch session in a Server Component, then redirect if missing.

Example

if (!session) redirect('/guest');

Later, branch on session.role to show different modules.

Next step: escalate roles

This page should be visible to every signed-in user. Use it as the baseline for verifying WorkOS session wiring before touching stricter routes.

Review the Admin plan →