+ Start a Discussion
Big EarsBig Ears 

My Domain and logging in via the API

I'm hoping to confirm my understanding of log-in routes for the APIs if the "Prevent login from https://login.salesforce.com" option is ticked within "My Domain". Can somebody please confirm if the following are true:
  • This setting affects log-ins via API as well as via the GUI
  • If using the SOAP API, this will require a WSDL. The WSDL provides the log-in URL (which will be My Domain), so as long as the WSDL is correct, then log-in should be fine.
  • If using the REST API (this is where I think I'm less certain), the urls have to use the "My Domain" url otherwise they will not work. There is no way to use a generic "login" url/command which then returns the appropriate url to use thereafter for a given session
With thanks,
Andy
 
Best Answer chosen by Big Ears
Neetu_BansalNeetu_Bansal
Hi Big,

Yes you are correct.

Thanks,
Neetu

All Answers

Neetu_BansalNeetu_Bansal
Hi Big,

Yes you are correct.

Thanks,
Neetu
This was selected as the best answer
Big EarsBig Ears
Thanks!