What problem does it solve?
This Skill provides a secure and efficient way to implement passwordless email-OTP authentication, eliminating the need for traditional passwords and OAuth, while ensuring strong user verification and session management.
Core Features & Use Cases
- Passwordless Authentication: Offers a secure, passwordless login process using email and OTP.
- Data Model: Defines a comprehensive data model for sessions and users, with indexes and lifetimes optimized for performance and security.
- Auth Helpers: Provides a suite of authentication helpers for session management, permission checks, and error handling.
- Dev Bypass: Includes a development bypass for admin access without OTP on localhost.
- API Routes: Offers a detailed API for request-OTP and verify-OTP, with security measures like rate limiting and bot protection.
- Bootstrap Superadmin Seed: Ensures a superadmin account is created on first DB connect for system setup.
Quick Start
Use the otp-auth skill to request an OTP for email verification and then verify the OTP to log in.