PureDevOps Community

How to setup GitHub login for Discourse forum

  1. Go to https://github.com/settings/developers , then look for OAuth Apps in the left menu. Select New OAuth App. Fill in the required fields.

Be sure to set the Callback URL to use the path /auth/github/callback at your site domain. e.g., https://discuss.example.com/auth/github/callback

  1. (Optional) Upload a logo that users will see when signing into GitHub from your site.

  2. After creating your application, you should see the Client ID and Client Secret. Enter those in the Discourse fields:

  3. Enable the enable github logins site setting.