Docebo for Facebook

Discover how to integrate your Docebo LMS with Facebook

Last Updated

October 9th, 2019

Reading Time

3 min

User Level

Introduction

By integrating your Docebo Learning Management System with Facebook, your users can log into their Docebo platforms using their Facebook login credentials. This article provides a step-by-step guide for your integration.

Please Note: Be sure to double check that an email address used to log into Facebook corresponds with a user that already exists in your Docebo platform (the username and the password don’t need to match, but the email address should belong to a pre-existing user).

This way, a user can proceed with access to the platform without errors. If the email address used for Facebook does not correspond with a user in Docebo, then a user will not be able to access the platform using Facebook credentials.

Creating a Facebook App for Docebo

Begin by following this link (https://developers.facebook.com/apps). You may be prompted to log into your Facebook account. Once you’re on the Apps page, press the Add a New App button.

In the pop up box, fill in the App’s Display Name and the Contact Email. Then, press Create App ID (you may be asked to fill out some security questions).

Once the app is created, you will be redirected to the app’s main page on Facebook. Hover your mouse over the Facebook Login item, then press Set Up. On the next page, select the Web option. Move to the Site URL  textbox and insert your LMS Custom Domain URL if you are using the Custom Domain App, or the docebosaas URL if  you do not have a custom domain. Press Save Changes, then move to the Settings option of the Facebook Login menu.

In the Valid Oauth redirect URIs text field, type the installation URL followed by a second endpoint, composed in the following way:

https://{{lms base url}}/lms/index.php?r=socialLogin/fbLogin

where lms base url is the target installation address. See the above screenshot as an example.

Please note that Use Strict Mode for Redirect URIs and Enforce HTTPS are enabled by default for all the Facebook Login Apps created after March 2018, it is not possible to disable them.

Select now the Settings menu option on the left panel, and click on Basic to define the Privacy Policy URL. This field is mandatory for a proper configuration.

When the configuration is over, activate your app by changing its status from In Development to Live by means of the dedicated toggle.

Select a category for your app, them press Confirm to finalize the status change.

Activating the Facebook App in Docebo

Now you can finish the integration in your Docebo platform. Log into your platform as the Superadmin, then select the Admin Menu from the gear icon in the top right corner of your homepage. Then, press the Add New Apps button.

facebook add app

Once you’re on the Apps & Features page, select the Single Sign On tab from the tab menu on the left side of the page. Then, find the Facebook app in the list of apps in the tab, and press the Try It For Free button in the app’s row. In the pop up box, read more information about the integration. When ready, press Try It For Free. The app is now activated in your platform.

To reach the app, access the Admin Menu again, then press the Settings item in the Facebook section. On the Settings page, insert your Facebook API Code and your Facebook Secret Code into the corresponding text boxes. This information came from the Settings page of the app you created on Facebook (please see above if you need to know how to retreive the information again).

facebook settings

When you’re finished, press Save Changes. Your users can now log into their Docebo platforms using their Facebook login credentials. To see if everything is working properly, log out of your LMS. On the login page, you should see the Facebook icon in the Sign In section.