Sessions & OAuth
Authentication
Google Workspace login, CMYK OTP, and magenta_auth sessions.
Admin console (Google Workspace)
- Open the admin login surface:
/loginon the admin host GET /api/auth/status— check if OAuth is configuredGET /api/auth/google/start— begin OAuth flow- Callback:
/api/auth/google/callback - Session cookie:
magenta_session
There is no hard-coded HTML login page. Sign-in uses the Radix/Tailwind admin UI.
CMYK mobile OTP
# Send OTP
POST /api/cmyk/auth/otp/send
{"phone": "+15551234567"}
# Verify
POST /api/cmyk/auth/otp/verify
{"phone": "+15551234567", "code": "123456"}