Example HTTP request for the OAuth2 resource owner grant
The OAuth2 resource owner grant facilitates obtaining an access token for backend
services using a back-channel HTTP POST request to the authorization server token endpoint,
for example as/token or connect/token.
Use these parameters:
- grant_type = password (fixed)
- username = service account accesskey
- password = service account secretkey
- client_id = authorized app
- client id client_secret = authorized app
- client secret scope = oauth2 scope (Optional)