post http://127.0.0.1:4000/v1/login/oauth/access_token
Use this endpoint to get an access token for a user or client.
You can only use one authentication method per request — pick the one that fits your use case:
- For users: Authenticate with
username
,password
, andgrantType = password
. - For machine-to-machine (M2M): Use
clientId
,clientSecret
, and setgrantType = client_credentials
.