Authentication
This page details how to use the Authentication Controller's login endpoint to authenticate users and obtain Auth0 tokens for session management.
To authenticate, the user must provide a base token and credentials from Auth0. We assign the necessary permissions to ensure secure access to our APIs.
Bearer token to authenticate the user:
Log in with a given username and password.
To log in, users must first request an authorization token, which we provide upon initial request. With this authorization token, users can then request an access token. Upon successful authentication, an access token, refresh token, and ID token will be provided in the response. The access token is used for accessing other APIs, while the refresh token allows users to obtain a new access token without further interaction.
POST
/api/v1/auth/login
Request Headers
Name | Description |
Bearer Token | [Required] The first authorization token we provide for the log in. |
Request
Response
200 OK
Request a new access given the refresh token obtained during the log in.
To request a new access token using the refresh token obtained during login, send a request with the refresh token. Upon successful verification, a new access token and ID token will be provided in the response.
Name | Description |
Bearer Token | [Required] The access token can be used to renew and utilize the refresh token. |
Request
Response
Last updated