mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-09-12 13:48:58 +02:00
feat: add read-only GitHub App access alongside OAuth
This commit is contained in:
@@ -72,9 +72,12 @@ AUTH_CALLBACK=http://localhost:5000/github/auth
|
||||
|
||||
- `GITHUB_TOKEN` — create one at <https://github.com/settings/tokens/new> with the `repo` scope.
|
||||
- `CREDENTIAL_KEYS` / `CREDENTIAL_ACTIVE_KEY_ID` — generate a key with `openssl rand -base64 32`. Existing installations must follow the [credential migration guide](docs/credential-encryption.md) before starting this release.
|
||||
- `CLIENT_ID` / `CLIENT_SECRET` — from a new GitHub App at <https://github.com/settings/applications/new>.
|
||||
- `CLIENT_ID` / `CLIENT_SECRET` — from an OAuth App at <https://github.com/settings/applications/new>.
|
||||
- The App's callback must be `https://<host>/github/auth` (matching `AUTH_CALLBACK`).
|
||||
|
||||
To enable read-only access to selected private repositories alongside OAuth, follow
|
||||
the [GitHub App setup guide](docs/github-app-setup.md).
|
||||
|
||||
**3. Start the server**
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user