Skip to main content

User Login with Facebook for Discourse

Bakhtapur, Nepal

Go to the Facebook Developer page Login with the credentials of the account you want to connect to Discourse, click on Get Started and follow the wizard:

Using Facebook Login in Discourse

Select Developer:

Using Facebook Login in Discourse

Provide a name for the app, for example Discourse Login and click on Create App ID:

Using Facebook Login in Discourse

Click Set Up below Facebook Login:

Using Facebook Login in Discourse

From the menu on the left, exit Quickstart by clicking on Settings under Facebook Login:

Using Facebook Login in Discourse

Setup the Valid OAuth redirect URI field, entering e.g. https://forum.instar.com/auth/facebook/callback:

Using Facebook Login in Discourse

Navigate to Settings/Basic, enter your Discourse URL (https://forum.instar.com) in the App Domains field and also enter the URL for your Discourse site privacy policy and Terms of Service in the appropriate fields and also upload the icon of your site:

Using Facebook Login in Discourse

At the bottom of the page click on + Add Platform and select Website:

Using Facebook Login in Discourse

Enter your Discourse URL here, for example https://forum.instar.com and click Save Changes:

Using Facebook Login in Discourse

Click on the Status button to change your app from in development to public:

Using Facebook Login in Discourse

In Discourse site settings, enter your Facebook app’s App ID and App Secret in the facebook_app_id and facebook_app_secret fields:

Using Facebook Login in Discourse