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
vinothvinoth 

Single sign on from community page.

Hi, I am implementing SSO using Auth Provider(open id connector).I have placed the button in the community page. Once the user clicks the button, after authorization, I want to redirect to the same community  page from where they clicked the button. Please guide me to implement this scenario
NagaNaga (Salesforce Developers) 
Hi Vinoth,

This functionality extension sends the user to a specific Community after authenticating. If you don’t add the Community URL parameter, the user is sent to either /home/home.jsp (for a portal or standard application) or to the default sites page (for a site) after authentication completes. So you’ll need to specify a URL with the community request parameter.

With a Single Sign-On Initialization URL, the user is sent to this location after being logged in. For an Existing User Linking URL, the “Continue to Salesforce” link on the confirmation page leads to this page.

Single Sign-On Initialization URL Example:

https://login.salesforce.com/services/auth/sso/{orgID}/{URLsuffix}?community=https://izodev3-developer-edition.na15.force.com/support

To extend the Single Sign-On Initialization URL or Existing User Linking URL add the following to the community parameter:

Please follow the below link for more information

http://appirio.com/category/tech-blog/2013/11/salesforce-communities-theres-no-place-like-homehomeor-is-there/

Best Regards
Naga Kiran