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
eclecl 

SSO issue and checklist

Hi,

 

I have done a search and could not find what I was looking for.  Anyways, I am setting up SSO and have encountered some issues.   I have read through the documentation and there seems to be some gaps which I hope I can find the answer to. These are the steps I have already taken:

 

* Enabled SSO in salesforce

* Created a profile with SSO enabled

* Assigned a user to that profile

* Got a copy of the sample code and made the necessary changes (i.e. the domain name)

* Hosted a copy of the code to a webserver accessible by Salesforce

* Pointed the delegated gateway URL to the above webserver sso.asmx

 

Now here is the problem

 

When I access the intranet.aspx page, it goes to the gotosfdc.aspx page and processes for a while.  Then it goes to the salesforce login page and ends there with no username and password in the textboxes.

 

I have no idea where to look from here. 

 

Any advice would be great.

 

Thanks

 

Eric

SuperfellSuperfell

The sample was written about 4 years ago now, probably needs updating to send the login POST to login.salesforce.com, some of the form field names might of changed as well.

 

(also the sample is not even remotely production ready code, so i hope you're just setting this up as a general investigation, not a real deployment) 

BrucevbBrucevb

The examples are wrong and worthless.

 

Here is some working code in WCF. 

SSO Salesforce Source Code

Message Edited by Brucevb on 06-08-2009 12:24 PM