GitHub
GitHub is a web-based Git repository hosting service for version control and collaboration.
Authentication Types
GitHub supports 4 authentication methods:
-
OAuth - Create your own GitHub OAuth app with custom scopes. Every user connects with their GitHub account.
- Pros: Full control, per-user tracking, production-ready
- Cons: ~2 min setup
-
Instant OAuth - Use Webrix's pre-configured GitHub app for the fastest setup.
- Pros: Fastest setup, no configuration needed
- Cons: Limited scopes, not recommended for production
-
API Key - Use a personal access token for all users.
- Pros: Easy setup
- Cons: Less secure, no per-user tracking
-
Server App - Use a GitHub App with installation-level access.
- Pros: Best for organization-wide access, fine-grained permissions
- Cons: More complex setup
Setting up OAuth
- Click New OAuth App
- Fill in the application details:
- Application name: Give it a descriptive name (e.g., "Webrix Integration")
- Homepage URL: Your organization's website
- Authorization callback URL: Copy the Redirect URL from Webrix
-
Click Register application
-
Copy the Client ID
-
Click Generate a new client secret
-
Copy the Client Secret immediately (it won't be shown again)
-
In Webrix, paste the Client ID and Client Secret
-
Select the scopes you need in Webrix
-
Click Save Changes
Generating an API Key (Personal Access Token)
- Click Generate new token → Generate new token (classic) or Fine-grained token
-
Give your token a descriptive name
-
Select the scopes (permissions) you need
-
Click Generate token
-
Copy the token immediately and paste it into Webrix
Setting up a Server App (GitHub App)
-
Click New GitHub App
-
Fill in the required details and permissions
-
After creation, note the App ID and generate a Private Key
-
Install the app on your organization/repositories
-
Copy the Installation ID from the URL after installation
-
In Webrix, enter the App ID, Private Key, and Installation ID