Ask: “Add authentication and a sign‑in button.” The AI will set up sign‑in/out flows and guard protected pages and actions.
Do I need my own Google API keys?
Do I need my own Google API keys?
No. Mocha’s provider handles the Google OAuth flow. Just ask the AI to enable authentication.
Can I add other providers?
Can I add other providers?
Not yet. Multiple providers and scopes are on our roadmap. For now, Google is supported out of the box.
Can I add email/password or username/password authentication?
Can I add email/password or username/password authentication?
Email/password and username/password authentication are not directly supported yet. While Mocha can sometimes build custom auth flows, it often makes mistakes with security-critical code. We strongly recommend sticking with Google authentication—it’s a solid, secure mechanism that works reliably. We plan to add native email/password support soon.
Can I use my own Google OAuth credentials?
Can I use my own Google OAuth credentials?
Yes, if you’re on a Silver or Gold plan. By default, users see “Mocha” in the Google sign-in screen. With your own credentials, they’ll see your app’s name and logo instead. Learn more in Customize Google Sign In.