I was wondering if anyone has had success in trying to enabling single sign-on for sites using salesforce as the Identity Provider.
I have used the little chunk of code there and replaced the PingSpUrl with a few different values as I have tried to test this.
I had setup Salesforce as a Service Provider under the Identity Provider section. I have also tried to using the Single Sign Settings and keep getting a cert error even though I did download from the Identity section.
In the doc above it mentions you need to pass org_id, portal_id and siteurl so I attempted to add those the the SAML Attributes in the provider but when you try to add organiztion_id is says "Reserved attribute key". You also can't seem to add any value there it has to from the insert field list.
I am told it is doable and I suspect at this point if it is I am just overlooking something simple.
Any pointers to the right direction would be greatly appreciated.