Getting Started
Overview
Authon is a universal authentication platform that gives you drop-in auth for any app — OAuth providers, passwordless login, magic links, and JWT tokens, all fully managed.
What is Authon?
Authon handles the complexity of authentication so you can focus on building your product. It provides a hosted authentication service with pre-built UI components, a developer SDK for 15+ platforms, and a powerful dashboard for managing users, sessions, and OAuth providers.
Think of it as a self-hosted alternative to Clerk or Auth0, with full control over your data and a fully customizable login experience.
Key Features
20+ OAuth Providers
Google, Apple, GitHub, Kakao, Naver, Discord, and more.
Passwordless Login
Magic links and email OTP out of the box.
SDK for 15 platforms
React, Vue, Next.js, Angular, React Native, Node.js, and more.
Customizable UI
Brand your login modal with colors, logos, and dark/light themes.
Webhook Events
Real-time events for user signup, signin, ban, and more.
Enterprise Security
JWT with refresh tokens, PKCE, rate limiting, and audit logs.
Architecture
Authon consists of three components:
- API Server: NestJS backend that handles authentication, user management, and OAuth flows.
- Dashboard: Next.js admin interface for managing projects, users, providers, and API keys.
- Client SDKs: Browser and server SDKs for React, Vue, Next.js, Node.js, and more.
Quick Example
Add authentication to a React app in three steps:
bash
npm install @authon/reactApp.tsx
import { AuthonProvider, SignedIn, SignedOut, UserButton } from "@authon/react";
export default function App() {
return (
<AuthonProvider publishableKey="pk_live_your_key">
<SignedIn>
<Dashboard />
<UserButton />
</SignedIn>
<SignedOut>
<LandingPage />
</SignedOut>
</AuthonProvider>
);
}Ready to get started?
Follow the 5-minute quickstart guide to add Authon to your app.