better-auth-v2 - Better Auth v2 authentication integration
Provides Better Auth v2 integration guidance and templates for OAuth, RBAC, multi-tenant authentication, 2FA, passkeys, session protection, and onboarding.
Tags
Updated: 2026-12-01Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Analyze project architecture
- Generate integration plans
- Provide configuration templates
- Configure OAuth providers
- Add RBAC utilities
- Set up multi-tenant authentication
- Create onboarding flows
- Protect authenticated routes
Inputs
- Project source code
- Framework and runtime details
- Database configuration
- Database connection credentials
- OAuth client IDs and secrets
- User confirmation for schema creation
Outputs
- Tailored implementation plan
- Terminal commands
- File-by-file code changes
- Environment variable example
- Database schema and migrations
- Onboarding questionnaire component
- Conditional authentication header
- Protected route examples
- Separate backend folder when needed
Requirements
- Better Auth package
- Compatible database adapter
- Supported web framework
- OAuth credentials for enabled providers
- Security review before production deployment
