This article describes how you can implement the single sign-on solution for a family of websites by using the Registration UI.
janrain.settings.capture.federate = true; // The federateServer URL will be provided by Janrain. janrain.settings.capture.federateServer = 'https://example.janrainsso.com'; janrain.settings.capture.federateXdReceiver = 'https://mysite.com/xd\_receiver.html'; janrain.settings.capture.federateLogoutUri = 'https://mysite.com/logout.html';
Set up XD receiver URLs
Each site needs to host a static XD receiver (cross-domain receiver) page, a page which s never visible to the end user. The XD receiver page for each site must reside on the same domain as the main site, or SSO will not work in some browsers.
The following content must also be added to the federateXdReceiver page:
Set up logout URLs
Each site needs to host a static SSO logout page, which is never visible to the end user. The SSO logout page for each site must reside on the same domain as the main site, or SSO will not work in some browsers.
janrain.settings.capture.federateSegment = 'segment\_1'; janrain.settings.capture.federateSupportedSegments = ["segment\_2","segment\_3"];
Handle SSO logins
After a user has logged into one of your sites, Identity Cloud automatically logs that user into any other SSO-enabled site that he or she visits. Both the onCaptureLoginSuccess and the onCaptureFederateLogin events fire with the ssoImplicitLogin property set to true to identify the login event with SSO. This gives you the option to treat logins via SSO differently.
Updated 10 months ago