Authentication

500 MAU free

Complete auth system

Self-Hosted

Production-ready authentication with email/password, 10+ OAuth providers, passkeys, TOTP-based 2FA, and session management. Includes pre-built React components, webhooks for user events, and full audit logging.

Overview
Pricing
Usage
Docs
Examples

Quick Start

1

Install @sylphx/react and @sylphx/sdk

2

Wrap your app with SylphxProvider

3

Add SignIn/SignUp components

4

Use auth() on the server to get user

Documentation

Key Concepts

Sessions

Server-side session management with secure cookies. Sessions automatically refresh.

OAuth Providers

Connect Google, GitHub, Apple, Discord, and more with a few lines of code.

MFA

Two-factor authentication using TOTP apps like Google Authenticator.

Protected Routes

Use middleware to protect routes and verify authentication.

SDK Methods

MethodDescription
auth()Get the current authenticated user (server)
useUser()React hook for current user
<SignIn />Pre-built sign-in component
<SignUp />Pre-built sign-up component

Need more details?

Check out our complete documentation for in-depth guides and tutorials.

View full documentation