Remix Login with Laravel API Sanctum Stateful

Remix Login with Laravel API Sanctum Stateful

Nelisys Developer

54 года назад

550 Просмотров

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:
- https://www.youtube.com/watch?v=NnGaVgxEEYQ

Тэги:

#Remix #Laravel #Sanctum #Login #Authenticate #Cookies #XSRF-TOKEN
Ссылки и html тэги не поддерживаются


Комментарии: