Versions Compared

Key

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

...

The cURL commands below can be used to try this grant type.

Code Block
titlelanguageCommandpowershell
curl -v -X POST -H "Authorization: Basic <base64 encoded client id:client secret value>" -k -d "grant_type=client_credentials" -H "Content-Type:application/x-www-form-urlencoded" https://localhost:9443/oauth2/token
Code Block
titlelanguageCommandpowershell
 curl -u <client id>:<client secret> -k -d "grant_type=client_credentials" -H "Content-Type:application/x-www-form-urlencoded" https://localhost:9443/oauth2/token

...