We use cookies to make your experience better.
Learn how to integrate with a Git provider to authenticate workspaces.
The Git Integration allows your developers to connect their Coder accounts to their accounts with the Git repository service of choice.
Coder integrates with the following service providers for authentication and user key management:
Linking your Coder account with a git service provider is not required. Instead, you can use Visual Studio Code with git, the command-line tool, and we expect that this combination will work with most hosting software or services. However, Coder doesn't test these and cannot provide recommendations or support.
Ensure that your Git provider supports the keygen algorithm that Coder uses; you can choose the algorithm in Manage > Admin > Security > SSH.
Before developers can link their accounts, you (or another site manager) must create an OAuth application with the appropriate providers. When registering, you'll be asked for the following details related to your Coder deployment.
When creating an OAuth app, GitHub will ask you for the following Coder parameters:
[your-coder-domain]
(e.g.
https://coder.domain.com
)[your-coder-domain]/oauth/callback
(e.g.
https://coder.domain.com/oauth/callback
)Then, provide your Client ID and Client Secret to Coder.
When done, click Save.
When setting up OAuth with GitLab, you'll have to provide the following during setup:
[your-coder-domain]/oauth/callback
(e.g.
https://coder.domain.com/oauth/callback
)You can modify the settings for your application afterward. Make sure you've enabled the following:
Then, provide your Client ID and Client Secret to Coder.
When done, click Save.
On your Bitbucket Server, go to Administration > Application Links.
Create a new Application Link, setting the Application URL as
[your-coder-domain]
(e.g. https://coder.domain.com
). If you receive a No
response received error, click Continue to ignore it.
For your newly created Application Link, provide the following values as your Incoming Authentication properties:
Coder
Coder
When done, click Save.
See an opportunity to improve our docs? Make an edit.