Firebase Auth
Next.js owns the email signup and login flow through the Firebase client SDK.
STATE: CLIENT_SESSIONA focused phase-one frontend for OpenClaw SaaS: landing, signup, login, logout, Firebase ID token provisioning, and one authenticated ABP API ping.

Next.js owns the email signup and login flow through the Firebase client SDK.
STATE: CLIENT_SESSIONEvery protected request carries the Firebase ID token as a bearer token to the ABP backend.
STATE: JWT_VALIDATEDABP provisions or links the Firebase UID to a Guid IdentityUser and keeps CurrentUser intact.
STATE: USER_MAPPEDThe demo avoids tenant admin, pricing, dashboards, and role management. It stays tight around the contract needed by the ABP backend: verify Firebase JWT, create or link IdentityUser, then serve authenticated REST APIs.
