Third-party features and integrations: Facebook Sing Sign On (SSO)
-
Enabling Facebook SSO requires that you have a Facebook account of your own. You will also need to restart your NodeBB instance a couple of times during the process. This will shut down your forum to users for a short period each time, so if you run a busy forum you may wish to do this during off-peak hours.
Install and activate plugin
- Open the administrative dashboard using the 'gear' icon on your forum.
- Open the Extend > Plugins menu.
- Select the Find Plugins tab.
- Use the plugin search on the right side to search for Facebook.
- From Installed tab on the Plugins menu, search again for Facebook and select Activate.
- Activating the plugin will require a restart of your forum. To restart, select the Dashboard menu and press the Restart button to the right. After NodeBB restarts, the Facebook SSO plugin will be active.
- Refresh your browser to reveal the Social Authentication menu -- select this menu, and then select Facebook.
Enable Facebook sign-on
- Go to the Facebook Developers page, which is linked from this menu.
- Create a Facebook app shell. Select Create a new app, and enter the required information.
- Select Dashboard on the left of the page and locate your App ID and Secret code.
Returning to NodeBB, copy and paste the Application ID and Secret code into the appropriate places on the Facebook menu page. You can also allow users who sign on with Facebook to skip the standard email verification step since Facebook usually does a good job of verifying these emails, but this is up to you. Be sure to save these settings. Once you are done, you will need to restart the forum one more time.
Once your forum restarts, new users will be able to join your forum using their Facebook ID. This option will be added to the user registration page automatically.