I have created a connected app in salesforce so that the external system can connect to our org.
They are using oauth2 so i have set it up accordingly and shared the client key and client secret.
https://test.salesforce.com/services/oauth2/token?grant_type=client_credentials&client_id=XXXXXXXXXXXXXXXXX&client_secret=XXXXXXXXXXXXXXX
But while I am trying to access the same from postman tool, I am getting 'grant type not supported '
is it client credentials is not supported in salesforce to get the token .
Also if I change to password , it says
https://test.salesforce.com/services/oauth2/token?grant_type=password&client_id=3MVG9lcxCTdG2Vbs7E5OwQecRVkliAxcnCh4dEoJtZfP1P.5Wb5n8IFFP69b.SJ2faiw4_jh1&client_secret=370769049890&[email protected]&password=237857235237645
{
"error": "invalid_grant",
"error_description": "authentication failure"
}
I tried with security token as well no luck.
But I have to use client_credentials only as grant type as the external system wanted that.