What problem does it solve?
This Skill simplifies the process of adding secure authentication and authorization to web applications using the Better Auth framework.
Core Features & Use Cases
- Email/Password Authentication: Supports email/password authentication with verification and password reset functionality.
- OAuth Providers: Integrates with popular OAuth providers like GitHub, Google, Discord, etc.
- Two-Factor Authentication: Offers two-factor authentication via TOTP and SMS.
- Passkeys: Supports passwordless authentication using WebAuthn passkeys.
- Session Management: Handles user session management with role-based access control and rate limiting.
- Use Case: Use this Skill to add authentication to a web application, implement OAuth flows, set up two-factor authentication, manage user sessions, or configure authorization rules.
Quick Start
Use the better-auth skill to add authentication to your application. First, install the skill:
npm install better-auth
Then, configure the auth server and database:
import { betterAuth } from "better-auth";
export const auth = betterAuth({
// Configure database, email, OAuth providers, etc.
});