Skip to main content

Introduction to SyAuth

SyAuth is a complete authentication and identity management platform designed for developers who want full control over their authentication infrastructure.


Why SyAuth?

FeatureDescription
Full ControlOwn your authentication infrastructure. Your users, your data, your rules.
Developer-FirstBuilt by developers, for developers. Clean APIs, comprehensive SDKs, detailed docs.
Standards-BasedOAuth 2.0 and OpenID Connect compliant. Industry-standard security protocols.
Flexible IntegrationWorks with your existing infrastructure. Connect custom databases or use built-in storage.

Core Features

FeatureDescription
OAuth 2.0 / OIDCFull OAuth 2.0 Authorization Code flow with PKCE
Universal LoginCustomizable, branded login and registration pages
Social LoginGoogle, Facebook, GitHub, LinkedIn
Custom DatabasesConnect your PostgreSQL, MySQL, or MongoDB database for user storage
User ManagementComplete user lifecycle management
GroupsOrganize users with group-based permissions
API TokensSecure API access for your applications
WorkspacesMulti-tenant organization with team collaboration

How It Works

SyAuth supports two primary authentication flows depending on your application's needs:

1. Standard Flow (Universal Login)

The easiest way to integrate SyAuth. Your app redirects users to a hosted, branded login page.

2. Embedded Flow (Direct API)

For maximum control over the UI. You build your own login forms and call the SyAuth API directly.


Authentication Lifecycle

Case A: Using Universal Login (Recommended)

  1. Redirect: Your app redirects the user to SyAuth's Universal Login page.
  2. Handle Auth: SyAuth handles authentication (email/password, social, MFA).
  3. Callback: SyAuth redirects back to your app with an authorization code.
  4. Exchange: Your app (via SDK or API) exchanges the code for access/ID tokens.

Case B: Using Embedded Login

  1. Custom UI: You collect user credentials (email/password) in your own application.
  2. Direct API Call: Your backend (or frontend) calls the SyAuth https://api.syauth.com/e/v1/login/ endpoint.
  3. Token Management: SyAuth returns tokens directly, which your app then manages.
tip

Use Universal Login for the fastest setup and best security. Use Embedded Login only if you need a fully custom white-label experience where the user never leaves your domain.


Quick Start Path

New to SyAuth? Follow these steps in order:

StepWhat You'll DoTime
1. Setup ChecklistCreate account, workspace, and get credentials5 min
2. Choose a QuickstartFollow the guide for your framework (below)5-10 min
3. Test ItLog in and see it working!2 min

Quickstart Guides

Choose based on your tech stack:

FrameworkGuideDescription
Next.jsQuickstart →Full SDK with hooks, automatic token refresh
DjangoQuickstart →SDK with Django auth backend integration
Vanilla JSQuickstart →Plain JavaScript, no framework required
Any LanguageQuickstart →Raw HTTP - works with Python, PHP, Go, Java, etc.

Already Have an Account?

Jump to what you need:

  • Key Concepts — Understand Workspaces, OAuth Clients, Users
  • API Reference — Complete endpoint documentation
  • SDK Reference — Detailed SDK documentation
  • Customization (in your Dashboard) — Brand the login experience
  • Security — Best practices and compliance

Supported Platforms

Current SDKs

PlatformPackageStatus
Next.js@syauth/nextjs✅ Full OAuth 2.0 + PKCE support
Djangodjango-syauth✅ Full OAuth 2.0 + Django integration

Works With (via HTTP)

Any language that can make HTTP requests works with SyAuth: Python, JavaScript, Go, Java, Ruby, PHP, C#, Rust, and more.

Coming Soon

  • React SPA SDK
  • React Native SDK
  • Node.js Server SDK

Need Help?


Ready?

Start with the Setup Checklist