auth
Installation
SKILL.md
Authentication Module
Bknd provides comprehensive authentication with multiple strategies, JWT token management, secure cookies, and role-based authorization.
What You'll Learn
- Enable and configure the auth module
- Set up password, OAuth, and email OTP strategies
- Configure JWT tokens and secure cookies
- Create users via CLI, programmatic API, or OAuth
- Use authentication endpoints
- Follow security best practices
Enable Auth
Add auth configuration to your bknd.config.ts: