Auth

Sign in

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

post/api/auth/login

Request body

emailstring email required
passwordstring

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

Changed in 2 of the 7 revisions of this API.22

    • the request property password became optional

      request-property-became-optional

    • the password request property's minLength was decreased from 8 to 0

      request-property-min-length-decreased

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the request property password became required

      request-property-became-required

    • the password request property's minLength was increased from 0 to 8

      request-property-min-length-increased

    This revision also has 62 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog