Versions Compared

Key

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

...

Info
titlePrerequisites

Before continuing, you'll need to be running version 4.03+ and have the 'Third Party Login' feature enabled in the CMS. Contact us to switch this on for you.

Step-by-step guide

1.

...

Get a Facebook App ID & Secret

To enable Facebook Sign-In, there's some set-up required on the Facebook side. Follow the steps below.

  1. Navigate to the Facebook for Developers page https://developers.facebook.com/ - and click 'Log In'.


  2. Login with your Facebook account, then click 'Get Started' at the top of the page. You'll be prompted to create a Facebook for Developers account (click Next).


  3. Follow the prompts to create your account, then once you're in your dashboard, click 'Add Your First Product'.




  4. In the Add a Product section, locate Facebook Login and click Set Up.


  5. Select Web as the platform you're setting up for. 



  6. Enter your Website URL and Continue

  7. The steps that follow provide you with javascript and status codes that you will not need (as we do the hard work for you in the CMS). You can skip through these remaining steps. 

  8. Next, navigate to Settings → Basic


  9. Enter the URL for your website's Privacy Policy (a link to this page is displayed to users who use Facebook login on your site).
    You can also update the other fields here if you choose, such as an App Icon (your company logo, perhaps?), the display name, domain, and category. Only the Privacy Policy URL is mandatory.


  10. While on this page, take note of your App ID and App Secret. Copy and paste them somewhere handy - you'll need these once you get to the Commerce Vision CMS. 

  11. Click 'Save Changes' at the bottom of the page. 

  12. Finally, click the OFF toggle in the status bar to turn this app on.  You'll be prompted to select a category (if you haven't already) and Confirm.


  13. Check that the status updates to 'ON' and the Status: Live.

2. Configure Facebook Login in the CMS

 Now it's time to set up your website. 

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

  2. Configure the Third Party Login feature. 


  3. Toggle the Registration Page and Allow Linking options on/off as required for your website. (If your site is also using Google Sign-in, these options will already be configured. Leave them as they are.)

    The 2 options are explained in the table below.

    OptionDescriptionExample
    Use Registration Page

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


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

     

    Allow Linking To Existing Users

    Allows a user to login with Facebook, 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.)




  4. Enter your Facebook App ID and Secret into the appropriate fields. 

  5. Enable Facebook Sign-In with the toggle, then click Save



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


3. Optional Customisations

Don't like the button text on the Registration page? Wish the login pop-up didn't use the phrase "social network"?  

...

Content by Label
showLabelsfalse
max10
showSpacefalse
excludeCurrenttrue
cqllabel in ("cms","user-admin","google") and label = "integration"

...