Authenticating users
To authenticate the user with their login credentials (email - $USER_EMAIL
; password - $USER_PASSWORD
), we use the POST $SystemAPI/auth/internal/login
endpoint.
The response is the following JSON object:
{
"jwt": "$JWT",
"user": {
"userID": "$USER_ID",
"name": "$USER_NAME",
"email": "$USER_EMAIL",
"username": "$USER_USERNAME",
"handle": "$USER_HANDLE"
}
}
The received |
The |