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.