filmov
tv
Remix Login with Laravel API Sanctum Stateful

Показать описание
How to implement Remix to login or authenticate with Laravel Sanctum Stateful using Cookies session and XSRF-TOKEN
10:57 Login Action - /api/login
14:55 Get Cookies from Laravel Sanctum CSRF Cookie Response
27:35 Get User Profile - /api/user
28:55 Get Cookies from HTTP Request Headers
34:21 Logout Action - /api/logout
Environments
- Remix 1.17
- Laravel 10
Ref:
10:57 Login Action - /api/login
14:55 Get Cookies from Laravel Sanctum CSRF Cookie Response
27:35 Get User Profile - /api/user
28:55 Get Cookies from HTTP Request Headers
34:21 Logout Action - /api/logout
Environments
- Remix 1.17
- Laravel 10
Ref: