Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleAuthorization URL
https://host:port/appcontext/oauth/token?grant_type=client_credentialsoperator_password&username=#myusername&password=mypassword&brand_key=a_valid_brand_key

...

Code Block
titleCURL example
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

...