We have done integration between .net application and Salesforce.

Currently we are using the primary OAuth endpoints from .net application for authentication:

For production:

For authorization: login.salesforce.com/services/oauth2/authorize For token requests: login.salesforce.com/services/oauth2/token For revoking OAuth tokens: login.salesforce.com/services/oauth2/revoke

For sandbox:

Instead of login.salesforce.com used test.salesforce.com

If I want to integrate .net application with a salesforce org on which custom domain has set up then do I need to change the above urls based on custom domain for each such org?

Can anyone please suggest what are the best practices for handling this?

Thanks in advance.


It appears it's not required to change the initial endpoints when using a custom domain, as detailed in this post

  • 1
    Welcome to SFSE @ReadyPlayer1! Can you post some of the relevant content from that link? Links tend to break over time making answers without details a bit useless in the long term :) – Adrian Larson May 24 '16 at 15:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.