function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Pete HicksPete Hicks 

SAML authentication with a desktop .Net application

I have successfully written an Android application that makes use of the SalesforceMobileSDK and allows our users to use SAML and SSO.  Now I need to create a simple .Net C# application that will allow the user to authenticate with SSO as well.  I can't seem to find any examples online to show the best way to utilize this.  All the examples show are storing the user name and password in the code.  Can anyone point me in the right direction?
Daniel BallingerDaniel Ballinger
Have a read of How to Implement Single Sign-On with Force.com (https://developer.salesforce.com/page/How_to_Implement_Single_Sign-On_with_Force.com). In particular, under Sample Implementations (https://developer.salesforce.com/page/How_to_Implement_Single_Sign-On_with_Force.com#Sample_Implementations) there is a link to sample code for .NET.

There is also a description of downloading and using the AuthenticationService.wsdl.