FMS 1.0.0 Help

User Login

/auth/login

Authenticates a user with username (which can be an email or username) and password.
Returns a session cookie (fms_session) if successful.
Requires prior call to /sanctum/csrf to obtain CSRF token.

Request parameters

{ "username": "example", "password": "example" }

Responses

{ "message": "The given data was invalid.", "errors": { "username": [ "The username field is required." ], "password": [ "The password must be at least 8 characters." ] } }
10 April 2025