This article discusses how to implement the Single Sign-On (SSO) solution for a family of websites using the Registration UI.
// The federateServer URL will be provided by Janrain.
Each site needs to host a static XD receiver (cross-domain receiver) page. The page is 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.
Each site needs to host a static SSO logout page. The page 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.
There are several optional settings that may be enabled as well. The following example shows how to configure segments to create groups of sites between which to enable SSO.
Once a user has logged into one of your sites, the Identity Cloud will automatically log that user into any other SSO-enabled site that he or she visits. Both the onCaptureLoginSuccess and the onCaptureFederateLogin events will 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.