Zooly Auth is a centralized authentication and authorization system built on AWS Cognito. It provides single sign-on (SSO) across all *.zooly.ai applications, serving as the identity provider for the entire platform.
*.zooly.ai apps*.zooly.ai apps and localhostPopup login covers email/password and social sign-in without leaving the calling app. A fully inline/embedded login form (no popup window at all) is still not implemented — see Popup Login (No-Redirect).
Zooly Auth uses a centralized authentication app at auth.zooly.ai that handles all authentication flows. Other apps redirect unauthenticated users to this central app, which manages:
*.zooly.ai subdomainsauth.zooly.ai?returnTo=<original-url>.zooly.aiApps that don't want a full-page redirect can instead open auth.zooly.ai/popup in a popup window (via loginWithPopup() from @zooly/auth-client); the popup runs the same Cognito flow and signals success back to the calling window instead of redirecting it.
Identity data is split between two systems:
display_name, avatar_url, roles, guest_email)This separation ensures email changes in Cognito are immediately reflected without stale data in DynamoDB.