Authentication Configuration
Configure Better Auth for authentication, session management, MFA, and security settings in your SaaS application.
The SaaS Kit uses Better Auth for authentication, multi-tenancy and subscription management, providing:
- Email/password authentication
- Magic link (passwordless) authentication
- Multi-factor authentication (MFA/TOTP)
- Secure session management
- Password reset flows
- Account deletion
Why Better Auth?
Better Auth was chosen over alternatives because it:
- Modern API - Hook-based, TypeScript-first
- Flexible - Works with any database
- Secure - Industry-standard practices
- Type-Safe - Full TypeScript support
- Self-Hosted - Complete control over auth
- No External Dependencies - Runs entirely on your infrastructure
Next Steps
- Better Auth Setup - Configure Better Auth
- Auth Methods - Enable authentication methods
- Adding Plugins - Add plugins to Better Auth
Next: Better Auth Setup →