+ Start a Discussion
David ZhuDavid Zhu 

Single Sign-ON SP-Initiated login not working

Hi All,
We are testing SSO with ADFS. We follow the instruction from this link.
https://developer.salesforce.com/page/Single_Sign-On_with_Force.com_and_Microsoft_Active_Directory_Federation_Services

For IDP-Iniated login, it works as expected.  All logins from company computers are successful.

But SP-Initiated login fails. I use this as our SP login url  https://apotex--SSO.cs22.my.salesforce.com. I expect it redirecting to IDP login url automatically.
User-added image
But it never redirects. Just sitting as normal login with SSO. I tried using my user name and password and it gets the following error:

Your company's Single Sign-On configuration is invalid. Please contact the administrator at your company for more information.

Can someon please give me a hand?

Thanks,
David



 
Best Answer chosen by David Zhu
David ZhuDavid Zhu
It is a setting issue.
To enable SP-intiated login automatically redirect, go to Domain Management -> My domains -> select a domain -> (in Authentication Configuration section) change "Authentication Service" to the name which is setup in SAML Single Sign-On Settings