Auth shell
Sign in to the first protected Next.js surface.
This route is the initial Supabase Auth boundary for the rewrite. It already uses server actions and the request-bound server client, and it will later be extended with invitation-aware onboarding and organization membership resolution.
Next step
Membership-aware authorization comes next.
Once the auth shell is stable, the next implementation step is to load the active membership, company scope, and role-aware viewer context from the migrated Supabase schema.

The protected route currently verifies only the authenticated user.

Invitation acceptance will later connect signup to membership activation.

Back to landing