Login
Endpoint for authentication.
Initialize Sanctum cookie
GET
/sanctum/csrf-cookie
This method is used to initialize the Sanctum cookie. The cookie must be attached to each future request that requires an authenticated user (axios can do this automatically).
Login
POST
/api/v1/internal/login
This endpoint allows you to authenticate a user. It must be called after successfully initializing the Sanctum cookie.
Request Body
Name
Type
Description
password
string
The password of the user
string
The email of the user
Last updated
Was this helpful?