You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,8 +35,14 @@ Options :
35
35
**projects* : an array of Github repository's names (optional, default get all repositories),
36
36
**org* : an array of Github organizations,
37
37
**apiUrl* : url of your Github API (optional, default is `https://api.github.com`),
38
-
**token* : authorization token for API calls (optional, it can increase API rate limit).
39
38
**descendingOrder* : allow to change ordering of pull requests (optional, default is `true`).
39
+
**token* : authorization token for API calls (optional, it can allow access to more repos and increase API rate limit) NB: if a token is set, OAuth will be ignored for the team
40
+
**oauthAppClientId* : clientId of the OAuth app the team depends on (optional)
41
+
***githubOAuth** : OAuth config (optional)
42
+
**gatekeeperBaseUrl* : url to [Gatekeeper](https://github.com/M6Web/gatekeeper) (see OAuth section)
43
+
**apps* : list of the apps you use to auth
44
+
**url* : base url of GitHub (should be https://github.com or the base url of your GitHub enterprise)
45
+
**clientId* : clientId of the app
40
46
41
47
## Run the server
42
48
@@ -54,6 +60,7 @@ To use GTR with GitHub OAuth you must :
54
60
* Register a new application on GitHub (in Settings > Applications)
55
61
* Install [Gatekeeper](https://github.com/M6Web/gatekeeper) and launch it
56
62
* Set your "gatekeeperBaseUrl" and type in your app data (clientId and GitHub URL) in config/config.json (example in config.json.dist)
63
+
* Don't forget to link the OAuth app to the teams thanks to the oauthAppClientId property
57
64
58
65
Then, you should see the Auth button in the upper-right corner of the app !
0 commit comments