+ Start a Discussion
prakash_sfdcprakash_sfdc 

Salesforce SSO issue using Custom Domain from Apex Data Loader & SF1 mobile app

We have custom domain enabled which uses Windows ADFS for SSO. Salesforce is a Service Provider and Windows ADFS is Identity Provider - hence it's a SP-initiated login.

Everything was working fine until recently the SSO login has stopped working for external apps like Apex Data Loader, SF1, etc.

Everything works fine when we login using browser, but it shows below error when we login using  "OAuth" in Apex Data Loader and select Custom Domain for login. Same happens when we use Custom Domain login in SF1 mobile app. 
 
Server Error

404 - File or directory not found.

The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
Snapshot below:

User-added image


Please let me know if anyone has faced this issue. 
Best Answer chosen by prakash_sfdc
prakash_sfdcprakash_sfdc
The issue was resolved by changing "Service Provider Initiated Request Binding" from HTTP Redirect to "HTTP Post"