-
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
-
(Optional) Upload a logo that users will see when signing into GitHub from your site.
-
After creating your application, you should see the Client ID and Client Secret. Enter those in the Discourse fields:
github_client_id
github_client_secret
-
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 document
Perform check on document: