# better-auth-configurator - Author: SuhaibGit - Repository: SuhaibGit/Hackathon2-Todo - Version: 20260207193422 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-07 - Source: https://github.com/SuhaibGit/Hackathon2-Todo - Web: https://mule.run/skillshub/@@SuhaibGit/Hackathon2-Todo~better-auth-configurator:20260207193422 --- # Better Auth Configurator Skill ## Purpose Configure Better Auth for Next.js applications with proper setup, database integration, and security settings. ## Function - Initialize Better Auth with proper configuration options - Set up database adapters for user storage - Configure authentication providers (email/password, OAuth) - Implement secure session management - Create middleware for protected routes - Set up email verification and password reset ## Configuration Components - Main authentication initialization with configuration object - Database adapter setup (PostgreSQL, MySQL, etc.) - Provider configuration (credentials, OAuth providers) - Session management settings - Email template customization - Security settings (rate limiting, password policies) ## Security Implementation - Secure password hashing and verification - Session token generation and validation - Rate limiting for authentication endpoints - Password strength requirements - Account lockout mechanisms - Secure cookie configuration ## Output Format - Complete Better Auth configuration with all necessary imports - Proper initialization code for Next.js App Router - Database adapter setup - Security configuration settings - Ready-to-use authentication system for the application