Secures and manages authentication flows between Laravel Sanctum backends and Next.js frontends while preventing environment configuration leaks.
The Authentication Management skill is a specialized tool for developers working on the MutuaPIX ecosystem or similar Laravel-Next.js architectures. It provides structured guidance for implementing Laravel Sanctum, managing Zustand-based auth stores, and handling CSRF tokens. Most importantly, it features a robust security auditing framework designed to detect and disable development-only 'mock modes' before they reach production, ensuring that sensitive local testing shortcuts never compromise live user data. It includes automated verification procedures using Chrome DevTools to validate security headers and network behavior post-deployment.
Características Principales
01Security auditing for development mock modes
02CSRF and session management troubleshooting
03End-to-end Laravel Sanctum and Next.js integration
040 GitHub stars
05Automated deployment and post-deployment verification
06Environment variable validation for production VPS
Casos de Uso
01Syncing authentication state between backend APIs and frontend stores
02Hardening production environments against accidental mock-user access
03Debugging 401 Unauthorized errors and CSRF mismatches in cross-domain setups