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
|`GITHUB_OAUTH_CLIENT_ID`| The GitHub OAuth App client id || Yes |
65
65
|`GITHUB_OAUTH_CLIENT_SECRET`| The GitHub OAuth App client secret || Yes |
66
+
|`GITHUB_OAUTH_SCOPES`| Additional scopes to be added to the Oauth workflow. || No |
66
67
|`API_BASE_URL`| The base URL of the Traefik GitHub OAuth server || Yes |
67
68
|`API_SECRET_KEY`| The api secret key. You can ignore this if you are using the internal network || No |
68
69
|`SERVER_ADDRESS`| The server address |`:80`| No |
@@ -89,6 +90,7 @@ whitelist:
89
90
# The list of GitHub user ids that are whitelisted to access the resources
90
91
ids:
91
92
- 996
93
+
92
94
# The list of GitHub user logins that are whitelisted to access the resources
93
95
logins:
94
96
- luizfonseca
@@ -105,7 +107,8 @@ You can follow the steps in the [GitHub documentation](https://docs.github.com/e
105
107
106
108
#### OAuth Scopes
107
109
- For `ids` and `logins` you don't need extra scopes.
108
-
- For `teams` you will need to request the `read:org`, `user` or `repo` scopes from the user. See the [documentation](https://docs.github.com/en/rest/teams/teams?apiVersion=2022-11-28#list-teams-for-the-authenticated-user).
110
+
- For `teams` you might need to request the `read:org` scope from the user. See the [documentation](https://docs.github.com/en/rest/teams/teams?apiVersion=2022-11-28#list-teams-for-the-authenticated-user).
111
+
- You can do so by updating the `GITHUB_OAUTH_SCOPES` environment variable with the desired additional scopes, e.g. `GITHUB_OAUTH_SCOPES="read:org"` via the **Server Configuration**.
0 commit comments