Skip to content

Latest commit

 

History

History
51 lines (27 loc) · 1.89 KB

facebook-oauth-setup.md

File metadata and controls

51 lines (27 loc) · 1.89 KB

Facebook OAuth Setup

To use Facebook OAuth on your server, you need a Facebook App ID and Secret.

Follow these steps to enable Facebook OAuth on your server.

{% hint style="info" %} You will be required to verify your account before proceeding if it is your first time accessing Facebook for developers. {% endhint %}

  • Click on Create App to create a new app

  • Select the app type from the list of options and Next

  • Fill in the details and Create App

  • You are then shown a dashboard with various apps to be used. Locate and click Set Up against Facebook Login

  • Select Web as the platform for the app and continue

  • Set the redirect URI go to the Facebook Login > Settings section and paste the redirect URI in the Valid OAuth Redirect URIs field

  • With your newly created app selected, navigate to the Settings > Basic section to see your OAuth credentials

  • To be able to use OAuth login, you need to turn off app in development mode

  • Copy the credentials and fill them in the Google section of the OAuth configuration on your Rocket.Chat server then hit Save changes

  • The Facebook OAuth button can now be seen on the login and register page