...
The cURL commands below can be used to try this grant type.
Code Block |
---|
titlelanguage | Commandpowershell |
---|
|
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 |
---|
titlelanguage | Commandpowershell |
---|
|
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 |
...