How to add oAuth2.0 proxy for Salesforce. Currently I am testing rest api from apigee but it is always looking for test.salesforce.com. But I have different url how to look for my URL.

Not applicable
 
0 7 636
7 REPLIES 7

Can you clarify the question? What do you mean you have a different URL?

Not applicable

Actually by default it is taking me to test.salesforce.com for authentication but I want to authenticate from my own url which can be https://myurl.prototypeandsandbox.com

Hi Narendra Singh,

Can you please tell how the authentication url "test.salesforce.com" is configured? Is it in the target endpoint or in ServiceCallout policy?

apigee.jpg

that I am not sure but I believe it is in servicecallout policy.

Please see the screenshot it is by default taking me to this url.

Ok. In dropdown under API you can select "Other(generic)" in place of Salesforce Sandbox and then mention the url you want to test in the request url section.

ok, then how other authentication like oauth2.0 will happen

Hi @Narendra Singh, In test.salesforce.com page you get an option to use custom domain.sf.jpg