Gigya Job Openings

Page History

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Building Account Linking UI

Note

The following instructions are using the Gigya WebSDK, for information about using REST APIs, see accounts.login REST Errors.

 

This section explains how to add support for social-to-social account linking to an existing screen-set:

  • Account Linking Screen-Set
    • Fortunately, the new RaaS-screen-set collections come with built-in support for social-to-social account linking. So if you are new to RaaS and are just equipping your site with screen-sets for the first time, you do not need to take any further measures to support social-to-social linking apart from adding the screen-sets to your site and enabling Link All Accounts in the site Policies. To read more on using screen-sets go to the RaaS best practice implementation section.

      If you are using generically created screen-sets (i.e., you haven't made any changes to the markup created by Gigya), you can simply create a new screen-set collection and load it, instead of your previous screen-set, when calling accounts.showScreenSet in your code.

      If you are using the old screen-sets, or have custom built your screen-sets, and would like to add social-to-social account linking support, continue to the Adding Social-to-Social Linking Support section.
       

  • Adding Social-to-Social Linking Support to an existing Screen-Set
    • To enable social-to-social linking you need to add Gigya's social login widget to your existing link-accounts screen's markup, with the required loginMode='link' parameter.
      In order to do so you will have to export the markup from the console's screen-set page. If you are new to Gigya's markup extensions, you are advised to read the related guide prior to reading this section.

      Code Block
      <div class="gigya-social-login">
          <param name="version" value="2" />
          <param name="loginMode" value="link">
      </div>

      In order to display the social login widget only in relevant situations (i.e., when the user has existing social accounts to link to), place the widget inside a Gigya conditional container with the data-login-identities attribute of social, to indicate the container will be displayed when the user has a social network identity.

      Read more on conditional containers here.

      Code Block
      <div class="gigya-container" data-login-identities="social">    
          <div class="gigya-social-login">
              <param name="version" value="2" />
              <param name="loginMode" value="link">
          </div>
      </div>

...

  • Email Only
    • The Link Accounts feature only functions when using Email as the site's Login Identifier.
  • Unlinking Accounts
    • Once accounts have been linked, they cannot be unlinked. This means that taking an account with two (or more) identities and splitting it into two separate accounts is not supported.
      This should be distinguished from adding removing connections. Adding / removing connections allows you to manage the identities associated with a given account. While a social or site identity can be added or removed from an account, it cannot be migrated into a new separate account. So one of the identities can be removed from the linked account, but the accounts cannot be unlinked. What this means, is that once an account is linked to another account, and their data is merged, removing the identity will not un-merge this data and it will persist on the account that the identity was removed from.
  • Site-To-Site and Site-To-Social Linking
    • Site to social linking is currently not supported. Meaning that creating a site account (registering via form without using a social identity) and linking it to an already-existing social account is not possible.
      Site-to-site linking is also not supported.
  • Social Login Linking
    • Support for social accounts linking is currently available for RaaS clients only. Clients implementing social login cannot link between social accounts.
      If you do not currently have RaaS enabled on your system, please contact your 
      Excerpt Include
      Implementation Manager CS Title Excerpt Template
      Implementation Manager CS Title Excerpt Template
      nopaneltrue
       in order to activate it.

...