In Salesforce is Grant_type=client credentials supported OAuth flow? If so please help me with a sample code showing that or any blog if possible. Thanks!
Not working new CCGrant().returnAuthToken('$$.$$', '$$$', 'https://power-6240-dev-ed.cs77.my.salesforce.com');
getting folowing error
Are you sure this will work? Because I found that we cannot get client credentials grant type in SF. https://salesforce.stackexchange.com/questions/252922/does-salesforce-support-the-client-credentials-grant-for-oauth
Please check once below URL :
http://salesforceprasad.blogspot.com/2017/04/how-to-test-salesforce-rest-api.html
https://sfdcbeginner.com/how-to-test-salesforce-rest-api-using-rest-client.html
Hope this helps you!
If my answer helps resolve your query, please mark it as the 'Best Answer' & upvote it to benefit others.
Thanks
Varaprasad
@For Support: varaprasad4sfdc@gmail.com
Not working
new CCGrant().returnAuthToken('$$.$$',
'$$$',
'https://power-6240-dev-ed.cs77.my.salesforce.com');
getting folowing error
Are you sure this will work?
Because I found that we cannot get client credentials grant type in SF.
https://salesforce.stackexchange.com/questions/252922/does-salesforce-support-the-client-credentials-grant-for-oauth