Commit 0d1cab60ddb4fb605f9031be07e19d675ecdb56d

Authored by Arthur Nogueira Neves
2 parents d5c2a3be 7ff0cbe3
Exists in master and in 1 other branch production

Merge pull request #645 from pyro2927/feature/github_org_auth

Adding documentation for GITHUB_ORG_ID
Showing 1 changed file with 7 additions and 0 deletions   Show diff stats
README.md
... ... @@ -299,6 +299,13 @@ heroku config:add GITHUB_SECRET=the_secret_provided_by_GitHub
299 299 heroku config:add GITHUB_ACCESS_SCOPE=repo,public_repo
300 300 ```
301 301  
  302 +* GITHUB_ORG_ID [*optional*] - If set, any user of the specified GitHub Organization can login. If it is their first time, an account will automatically be created for them.
  303 +
  304 +```bash
  305 +heroku config:add GITHUB_ORG_ID=1234567
  306 +```
  307 +
  308 +
302 309 __Note__: To avoid restarting your Heroku app 4 times you can set Heroku variables in a single command, i.e:
303 310  
304 311 ```bash
... ...