+ Start a Discussion

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:


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


Best Regards
Naga Kiran