Auth

Log in

Authenticates a user based on valid credentials and returns JWT token and refresh token

post/api/auth/login

Request body

emailstring email required

The Email of the user. Must be a valid email address

passwordstring required

The Password of the account

Example request

{
  "email": "user@example.com",
  "password": "Password123!"
}

Response

User has been successfully authenticated

emailstring

Email for the user initiating the successful login request

accessTokenstring

Access token returned upon success

refreshTokenstring

Refresh token returned upon success

Changes