Next.js SSR starter integrating Laravel Sanctum token-based authentication and CSRF
A Next.js SSR starter that proxies requests to a Laravel Sanctum token-based API, providing server-side authentication, refresh-token handling, signed double-submit CSRF protection, and middleware for protected/guest routes. Includes Docker configuration and axios-based token refresh logic. Suited for apps requiring SSR authentication with stateless tokens and a Laravel backend.
0