What problem does it solve?
This Skill Unit provides a comprehensive guide for integrating and configuring Better Auth, a TypeScript authentication framework, into your projects.
Core Features & Use Cases
- Authentication Framework Integration: Offers detailed instructions on integrating Better Auth into your application.
- Config Options: Explains core configuration options such as
appName, baseURL, secret, and database.
- Database Configuration: Provides guidance on setting up database connections and ORM adapters.
- Session Management: Covers session storage, cookie cache strategies, and security considerations.
- User & Account Configuration: Details user and account settings, including model name, fields, and linking.
- Email Flows: Explains email verification and password reset workflows.
- Security Features: Discusses advanced security settings, including secure cookies and CSRF protection.
- Hooks: Describes how to implement endpoint and database hooks for custom logic.
- Plugins: Lists popular plugins and how to use them for additional features like two-factor authentication.
- Client Integration: Offers guidance on integrating Better Auth with various client frameworks.
Quick Start
Start by configuring the SKILL.md file with the necessary details and refer to the documentation for detailed setup instructions.