...
Code Block | ||
---|---|---|
| ||
https://host:port/appcontext/oauth/token?grant_type=client_credentialsoperator_password&username=#myusername&password=mypassword&brand_key=a_valid_brand_key |
...
Code Block | ||
---|---|---|
| ||
CURL example: curl -v -X POST -u myclientid:myclientsecret http://host:port/appcontext/oauth/token -H "Accept: application/json" -d "grant_type=client_credentialsoperator_password&username=#myusername&password=mypassword&brand_key=#myBrandKey" where: myclientid, myclientsecret are taken from OAUTH_CLIENT_DETAILS table #myBrandKey is taken from the Brand table |
...