-
Notifications
You must be signed in to change notification settings - Fork 18
GitHub OAuth setup
James Smith edited this page Sep 5, 2017
·
1 revision
New instances of Octopub need a GitHub OAuth app setting up, to enable login. We suggest that the app should be owned by a GitHub organization, not an individual.
To set up a new app:
- Go to the organization's "OAuth Apps" settings page at https://github.com/organizations/{organization-name}/settings/applications
- Click "Register a new application"
- Enter a name such as "Octopub for {your organization}"
- Enter the URL of your instance in the
Homepage URL
and in theAuthorization callback URL
fields. - Click "Register application"
Once you've created the application, you will be shown a page with a Client ID
and a Client Secret
. These values should be placed into the GITHUB_KEY
and GITHUB_SECRET
environment variables respectively, for your instance.
You should then restart the instance.