-
Notifications
You must be signed in to change notification settings - Fork 8
Set up the App
Szabolcs Szabolcsi-Toth edited this page Jan 13, 2021
·
5 revisions
Fork this repo, then go to Heroku and create a new App there. Connect it to GitHub, you can turn on automatic deployments
If your App is connected to GitHub, go to it's Settings tab, and edit the config vars:
-
ADMINS
list of GitHub usernames who can act as admin (adding removing users and settings)
example:["necccc"]
- GITHUB_CLIENT_ID
-
GITHUB_CLIENT_SECRET
these are displayed on your GitHub Org OAuth application page -
GITHUB_REDIRECT_URI
this should point to a path on this app, like this
https://HEROKU_APP_NAME.herokuapp.com/oauth
If you've added these, go to the Deploy tab on Heroku, scroll to the bottom, and do a manual deploy .
Go back to the OAuth settings on GitHub, and edit the URLs.
-
your "Application URL" is the Heroku app url, something like this
https://HEROKU_APP_NAME.herokuapp.com/ -
the "Authorization callback URL" is the
/oauth
path on the app
https://HEROKU_APP_NAME.herokuapp.com/oauth