Docs Connectors
GitHub connector
Connect a GitHub organization to Open Revoke to read members and invitations, invite new people and remove leavers.
Draft This page is a draft. It describes the plan for this part of Open Revoke and will change.
What it does
| Capability | Detail |
|---|---|
| Method | GitHub REST API |
| Reads | Organization members, admins and pending invitations |
| Creates | An invitation to the organization, by e-mail |
| Removes | Removes the member from the organization or cancels the invitation |
| Credentials | An organization token: read:org to read, admin:org to write |
How to connect
- The organization owner creates a token, preferably a fine-grained personal access token with the organization as its resource owner.
- In the panel, add GitHub as an app and paste the token in the connection settings.
Matching accounts to people
The GitHub API returns a member’s login, not their e-mail. Assign each GitHub account to its person once; Open Revoke keeps that owner on later syncs.
Before you allow writes
This connector is not verified on a real account yet. Run a sync with “Allow writes” off, compare the account list with the app’s admin panel, and test a write on a test account first.