What problem does it solve?
This Skill provides a structured approach to implementing secure authentication in IntelliFill projects, consolidating Supabase Auth, JWT handling, and backend auth mode into a unified flow.
Core Features & Use Cases
- Unified Auth Flow: Bridges frontend (React-like) and backend API for secure authentication.
- Token Management: Outlines JWT generation, validation, token refresh, and session persistence with secure storage.
- Protected Routes & Backend Mode: Guides on implementing route guards, middleware, and backend-auth configuration to avoid direct frontend access to sensitive services.
- Security Best Practices: Covers rate limiting, password reset, and account lockout to improve security posture.
Quick Start
Begin by configuring your environment for backend auth mode, add the backendAuthStore and API endpoints following the patterns described, and wire protected routes to ensure authenticated access.