Auth & Workspace Issues
Fix Google login, onboarding, and membership access problems.
Login keeps returning to /login
- Verify AUTH_SECRET, AUTH_GOOGLE_ID, AUTH_GOOGLE_SECRET are set.
- Confirm Google OAuth redirect URI includes /api/auth/callback/google.
- Confirm APP_URL / AUTH_URL match the origin you open in browser.
- Clear site cookies for localhost and retry /signup.
Signed in but redirected to onboarding forever
- Complete workspace creation form (name required).
- Check database connectivity (DATABASE_URL) and prisma db push.
- Confirm Membership row exists for your user with status active.
Forbidden on billing/settings actions
RBAC blocks actions by role. Billing and some settings require elevated roles.
- Owner: full access including billing
- Admin: broad manage permissions
- Operator: campaigns/accounts/agents
- Viewer/analyst/auditor: read-focused
Cannot open /admin
- Ensure your user platformRole is superadmin.
- UPDATE User platformRole to superadmin for your email.
- Sign out/in and reopen /admin.
Need the product UI? Open command center