Getting Started
ZAuth is a complete authentication system integrated into our platform.
It allows you to easily add secure, modern authentication to any App you create β without building your own auth backend.
Once you create an App, you can enable ZAuth for it directly from the dashboard.
Key Highlights#
- π OAuth-based authentication β industry-standard, secure, and reliable.
- βοΈ Easy integration β just one SDK call to add login to your app.
- π Environment-aware redirects β separate Dev and Prod redirect URLs.
- π₯ User management dashboard β view and manage your users effortlessly.
- π Multiple login methods β Google, Email + OTP, Email + Password, WhatsApp, and more.
- π§© App-linked system β enable ZAuth per app and manage access independently.
1. What Is ZAuth?#
ZAuth works as an OAuth-based authentication system similar to other identity providers (e.g., Google OAuth).
It handles user authentication, session management, and user data securely on your behalf.
By enabling ZAuth, your app can support multiple sign-in methods instantly β with just one integration.
2. Enable ZAuth for Your App#
- Go to your App in the dashboard.
- Open the ZAuth section.
- Click Enable ZAuth.
- Youβll get a Key and Secret for authentication requests.
- Set your Development URL and Production URL.
ZAuth will use these URLs to redirect users back to your app after successful authentication, based on the environment youβre running.
3. How It Works#
- In your app, call the provided ZAuth SDK function (e.g.,
zauth.signIn()). - The user will be redirected to the ZAuth authentication page.
- After successful authentication, ZAuth will redirect the user back to your configured redirect URL.
- The redirect will include an authorization code, which can be used to verify and fetch access token from your backend.
This keeps your app secure while minimizing development time.
4. Manage Users#
You can view and manage all users of your App directly in the dashboard under the Users section.
ZAuth handles user creation, verification, and authentication automatically.
5. Supported Authentication Methods#
ZAuth supports multiple sign-in methods out of the box:
- Google Sign-In
- Email + OTP
- Email + Password
- WhatsApp Login (Coming Soon)
- (More methods will be added over time.)
This flexibility allows you to provide your users with a seamless login experience suited to your appβs audience.
6. Why Use ZAuth?#
- No need to build or maintain your own authentication system.
- Unified login experience across all your apps.
- Secure token-based authentication.
- Scalable for production and sandbox environments.
- Easy to integrate β one SDK function is all it takes.
7. Summary#
- ZAuth is your appβs built-in OAuth system.
- Enable it from your App settings.
- Configure Dev and Prod URLs for redirects.
- Integrate with one simple SDK call.
- Manage your users directly from the dashboard.
- Supports multiple modern authentication methods.
With ZAuth, authentication becomes a plug-and-play experience for your apps.