Versions Compared

Key

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

...

Table of Contents
excludeContents

Overview

Facebook Sign-In is a secure (OAuth 2.0) login method. BPD sites can implement a single-on method with Facebook so users can be securely authenticated using just their Facebook credentials.

Multiexcerpt
MultiExcerptNameFeature Overview


Excerpt

Let your B2B/B2C customers use their Facebook credentials as a single sign-on to login to your website with their Facebook account instead of email address and password.  This can reduce user friction and "login fatigue". Facebook Sign-In is a secure (OAuth 2.0) login methodFor sites with B2B customers especially, you can also set single sign-on logins to link to existing users at Customer and Role levels



This page guides you through the implementation of Facebook Sign-In for your site. 

...

Info
titlePrerequisites

Site must be version 4.03+ for single sign-on login, 4.16 for linking to existing accounts, and the 'Third Party Login' feature must be enabled.

...

  1. In the CMS, navigate to Settings → Feature Management → User

  2. Toggle on Third Party Login

  3. Click Configure.
  4. Toggle the Registration Page and Allow Linking options on/off as required for your website. (If . (Note - these settings apply to all single sign-on methods on your site. So if your site is also using Google Sign-in, these options will may already be correctly configured. Leave them as they are.)

    The two options Configuration Settings are explained in the table below. 
    Image Removed
    Image Added

  5. OptionDescriptionExample
    Use Registration Page

    Displays additional registration fields to the user after they've signed in with Facebook/Google.  You You can use this to request more more info from your customer before they click Login.


    (This screen is only shown on the user's first login.)

     


    Note

    If 'Force Linking to Existing Users' option is used, the 'Hide Registration Section' toggle in the Single Sign-on Login Registration Fields widget is enabled, and these registration fields will not be displayed.   


    Allow Linking To Existing Users

    Allows a user to login with a Facebook login, then link that login to an existing account on your site (if they have one).


    This retains all of the user's order history, favourites, etc, with the benefit of a quick Facebook sign-in.


    (This screen is only shown on the user's first login.)


    Force Linking To Existing Users


    Warning
    titleFor B2B sites

    This option must be ON for B2B sites because a user logging in with a single sign-on should be linked to an eligible User in an existing Customer account. 

    To complete implementing this method, the 'Hide Registration Section' toggle in the Single Sign-on Login Registration Fields widget must be enabled so that a Facebook user cannot register as an unlinked user.   

    Forces a user logging in with Facebook to link that login to an existing user on your site. If the user cannot link to an existing user, the system will not allow the login to be completed.   

    (This screen is only shown on the user's first login.)


    Default Role

    If this is left blank and the Single Sign-on user is not linked to an existing user, a new single sign-on will be created with the Initial Role of 'PUBLICR'.

    Enter an alternate default Role if required.


    Default Customer Code

    If this is left blank and not linked to existing users, a new single sign-on will be created with the Initial Customer Code 'WEBSALES'.

    Enter an alternate default Customer Code if required.




  6. In the Facebook section, enter your Facebook App ID and App Secret into the appropriate fields. 

  7. Toggle ON 'Enabled', then click Save



  8. Fire up your website and test it out! You should be able to login seamlessly using your Facebook account. (thumbs up)

...

(i) Change the text on the Registration / Link User page here: 

  1. Navigate to ContentPages & Templates.

  2. Search for and select the Third Party Login Registration template. 
  3. Edit the Single Sign-on Registration Fields widget
  4. Update the headings, button labels, and prompts here. 


(ii) Change the headings on the Login pop-up here: 

  1. Navigate to Content → Theme Layout.
  2. Edit the Login Logout Popup widget.
  3. Select the Titles tab to update the headings. 
    Image Removed
    Image Added


Facebook Sign-In is a great way to get your customers logged in and shopping with you faster. And your users will no doubt appreciate not having to remember yet another password! 

...

Minimum Version Requirements


Multiexcerpt
MultiExcerptNameMinimum Version Requirements
04.03.00, 4.16


Prerequisites


Multiexcerpt
MultiExcerptNamePre reqs

'Third Party Login' must be enabled.


Self Configurable


Multiexcerpt
MultiExcerptNameSelf Configurable

Yes


Business Function


Multiexcerpt
MultiExcerptNameBusiness Function
Social Media


BPD Only?


Multiexcerpt
MultiExcerptNameBPD Only

Yes


B2B/B2C/Both


Multiexcerpt
MultiExcerptNameB2B/B2C/Both

B2CBoth


Ballpark Hours From CV (if opting for CV to complete self config component)


Multiexcerpt
MultiExcerptNameBallpark Hours From CV (if opting for CV to complete self config component)

2


Ballpark Hours From CV (in addition to any self config required)


Multiexcerpt
MultiExcerptNameBallpark Hours From CV (in addition to any self config required)

Contact Commerce Vision


Third Party Costs


Multiexcerpt
MultiExcerptNameThird Party Costs

n/a


CMS Category


Multiexcerpt
MultiExcerptNameCMS Category

Website Users


...