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
Durai MuruganDurai Murugan 

sso Integration

Hi,

We are planing to integrate my web application with salesforce. We have account in salesforce. Actually  our plan is , the salesforce user login from salesforce into my website using salesforce credetial(via sso SAML). How can i do this ? Our site developed by PHP. what we will setup do our site. Can you please give brief explanation.

Thanks
LBKLBK
Step 1: Enable Identity Provider (IDP) in Salesforce (Refer https://developer.salesforce.com/page/Salesforce_IdP_Setup for details).
You may need to setup MyDomain ?(if you haven't done it already) and a Self Signed Certificate

Step 2: Download the SAML Metadata XML from the IDP

Step 3: You need to implement SSO access in your Website using the SAML Meta data you have downloaded.  Here are some examples (https://developers.onelogin.com/saml/php).

Hope this helps.
Durai MuruganDurai Murugan
Hi LBK,

Thanks for your reply. We are using  simplesamlphp for setup saml in my server.  So how to integrate salesforce and my web application. where will place selfsignedcertificate file. we need more help document.
LBKLBK
You need to setup SimpleSAMLphp as a Service Provider (SP).

I believe certificate information is part of the SAML Metadata you download from Salesforce IDP. Whoever is configuring your web application should know how to use the SAML data.

These URLs may provide you some more information.

https://help.salesforce.com/articleView?id=sso_saml.htm&type=0

https://developer.salesforce.com/page/Single_Sign-On_with_SAML_on_Force.com