Authenticates the user by the username/email and password and returns a JWT. Exchanging the code to a JWT via the Generate JWT call is not needed.
client_id required | integer Your application ID. Get it after creating an OAuth 2.0 client. |
scope | string Scope is a mechanism in OAuth 2.0 to limit an application’s access to a user’s account. Can be:
If you process your own values of the |
OK
Bad Request
Unauthorized
Not Found
Unprocessable Entity
Too Many Requests
{- "password": "password123",
- "username": "John"
}
{- "error": {
- "code": "003-061",
- "description": "Object not found.",
- "details": { }
}
}