What problem does it solve?
This skill solves the need for simple, secure, and lightweight access control for internal tools or web applications without the overhead of full-blown OAuth or complex identity providers.
Core Features & Use Cases
- Dual-Mode Security: Choose between a high-security Convex-backed implementation with session tracking and fingerprinting, or a lightweight HMAC-signed cookie approach.
- Robust Protection: Includes timing-safe comparisons, exponential rate limiting, and fail-closed design patterns to prevent brute-force attacks.
- Use Case: Quickly add a secure gate to an internal dashboard or a private prototype by simply running the setup command and configuring your PIN environment variable.
Quick Start
Run the pin-auth skill to integrate PIN-based authentication into your current Next.js project by following the interactive configuration prompts.