Configure GitHub login for Discourse

  1. Go to, 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.,

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

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


  4. Enable the enable github logins site setting.

That’s it!

Last Reviewed by @SaraDev on 2022-05-23T21:00:00Z

Last edited by @JammyDodger 2024-05-26T07:25:08Z

Check documentPerform check on document: