Registering a GitHub OAuth app
This guide is part of the Publicus connection catalog. Once you have the credentials, connect the service and Publicus stores them for you.
Distilled from GitHub’s own documentation: Creating an OAuth app, Authorizing OAuth apps. Retrieved 2026-07-03.
- In the upper-right corner of any GitHub page, click your profile picture, then Settings.
- In the left sidebar, click Developer settings.
- In the left sidebar, click OAuth apps.
- Click New OAuth App.
- In Application name, enter a name.
- In Homepage URL, enter your app’s website.
- Optionally add an Application description users will see.
- In Authorization callback URL, enter the callback URL exactly as shown on the connect form.
- Click Register application.
- On the app’s page, note the Client ID and generate a client secret; copy the secret immediately.
Operational notes (from Authorizing OAuth apps):
- Request scopes space-delimited on the authorize URL; the granted
scopefield in the token response comes back comma-separated. - Send
Accept: application/jsonon the token exchange for a JSON response. - Tokens have no fixed TTL but are auto-revoked after one year unused.
Connect it to Publicus
Section titled “Connect it to Publicus”Open Connections under Credentials, choose GitHub, and pick GitHub OAuth app. Publicus asks for exactly the fields listed above and keeps them in your workspace’s secret storage.
See also: GitHub in the catalog.
This guide is maintained by Publicus and published under CC BY 4.0.