Error: Invalid provider type specified.


I have a link in our app redirecting to Sales Force using SSO. It works fine on one of our servers but gives the below error on another. Both sites are running the same application version and database so this leads me to believe its a server configuration issue.

The error we are getting “Error: Invalid provider type specified.

Seems to occur on the follow code: SAMLMessageSignature.Generate(samlResponseXml, x509Certificate.PrivateKey, x509Certificate);

Any help or suggestions on this issue would be appreciated.

Please enable SAML trace and send the log file as an email attachment to Thanks.