Setup methods
There are two ways to configure GitHub integration:Easy mode — GitHub App Manifest (recommended)
This creates a GitHub App automatically with the correct permissions.- Go to your resource Settings
- Under External Authentication, click Connect with GitHub
- Choose your GitHub provider:
- github.com for standard GitHub
- GitHub Enterprise — enter your enterprise URL
- You’ll be redirected to GitHub to authorize the app creation
- Approve the app and you’re redirected back
Advanced mode — manual configuration
If you prefer to configure an existing GitHub OAuth App:- Go to your resource Settings
- Under External Authentication, switch to Advanced
- Copy the Callback URL shown — you’ll need this in GitHub
- In GitHub, create an OAuth App and set the callback URL
- Back in CodeWire, enter:
- Client ID from your GitHub OAuth App
- Client Secret from your GitHub OAuth App
- Click Save
After connecting
Once connected, the settings page shows:- The GitHub provider URL
- A masked Client ID (first 12 characters)
- A Disconnect button to remove the integration
This is a per-resource GitHub App integration for Coder authentication. For private repo access during workspace creation, you can also set a GitHub Token in Organization Secrets — this is a separate, dashboard-level OAuth connection.
GitHub Enterprise
GitHub Enterprise is supported in both setup modes:- Easy mode — select “GitHub Enterprise” and enter your enterprise URL
- Advanced mode — create an OAuth App on your enterprise server and configure manually
Disconnecting
To remove the GitHub integration:- Go to resource Settings → External Authentication
- Click Disconnect
- Click Sync Configuration from Advanced Settings