Authentication
Last updated
Last updated
This API endpoint allows users to authenticate and receive an ID token, access token, and refresh token.
POST
/v1/auth
Headers
Name | Value |
---|---|
Body
Name | Type | Description | Required |
---|---|---|---|
Response
Ensure that the connection to the API is made over HTTPS to protect sensitive information such as passwords and tokens.
Store tokens securely on the client side to prevent unauthorized access.
The refresh token obtains a new access token when the current one expires.
POST
/v1/auth/refreshtoken
Headers
Body
Response
Name | Value |
---|---|
Name | Type | Description |
---|---|---|
Content-Type
application/json
username
string
The user's username or email address
Yes
password
string
The user's password
Yes
Content-Type
application/json
refreshtoken
string
Refresh token which is return from authenticate endpoint