Login with credentials
POST/login
Authenticates a user with username and password. Returns a JWT token as a secure HTTP-only cookie that can be used for subsequent API requests. The JWT token can also be retrieved from the response and used as a Bearer token in the Authorization header.
Example using Bearer token:
curl -H "Authorization: Bearer <token_value>" https://frigate_ip:8971/api/profile
Request​
Responses​
- 200
- 401
- 422
Successful Response
Login Failed - Invalid credentials
Validation Error