(I'm integrating Apigee with Salesforce) - pretty much implementing this scenario from Apigee docs, https://docs.apigee.com/api-services/cookbook/using-policy-composition
I'm trying to hit the proxy https://{host}/{basepath}/sfdc-dealer-codes (this is the API I created in Apigee) which internally has a service call out to external proxy, provided by Salesforce, which gives the token back to apigee and then hits the actual target with the salesforce OAuth token.
The problem here is: when I hit the OAuth Salesforces API directly from Postman, I get the OAuth token, everything works - great! BUT when I use the service callout policy to call the external API provided by salesforce to get the salesforce oauth token I get an error unsupported grant_type=password error.
Please let me know I can provide more information on this. Also, I new to Apigee, any inputs would be much appreciated.
Please refer to this trace from the UI servicecallouterror.jpg
Thanks in anticipation