Go to developers.facebook.com/apps and …
“Create a New App”.
Provide a name for the app, for example “Discourse Login”.
Click “Create App ID”.
Click “+ Add Product” on the left.
Click “Set Up” below Facebook Login.
Exit Quickstart by clicking “Settings” on the left
When asked for “Valid OAuth redirect URI”, enter
https://discourse.example.com/auth/facebook/callback – obviously, replacing the domain with your site’s actual domain name and matching the correct protocol,
Once completed, a successful setup should look like this in Products / Facebook Login / Settings:
Navigate to Settings / Basic:
Click “ Add Platform”
Enter your Discourse URL here, for example
Enter your Discourse URL in the “App Domains” field.
In Discourse site settings, enter your Facebook app’s App ID and App Secret in the
facebook app id and
facebook app secret fields. You’ll also want to check off
Enable Facebook authentication, requires facebook_app_id and facebook_app_secret
Finally, don’t forget to go to App Review and make your app public! The category you select does not matter.
That’s it! Facebook login should work now. Be sure to test it from a “normal” Facebook account, not your developer account.
As of Discourse 1.7, you can also set the optional setting
This site setting will request bio, website url and location from Facebook. If you enable this setting your integration app will have to be approved by Facebook, when you first login you will see a link to authorization instructions by facebook.