Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github enterprise configuration appears to not work correctly #207

Open
ryankoski-at-work opened this issue Sep 16, 2024 · 2 comments
Open

Comments

@ryankoski-at-work
Copy link

Hello all,

Just installed LSP-copilot for the first time and trying to configure it to work with github enterprise. If I'm reading the docs correctly, I believe I just need to configure this section in settings:

// Settings in here override those in "LSP-copilot/LSP-copilot.sublime-settings"

{
	"settings": {
		"authProvider": "github-enterprise",
		"github-enterprise": {
			"url": "https://git.target.com"
		},
	},	
}

I've not configured any other settings. When I run Copilot login from the command pallet, instead of launching a github enterprise window it's still directing to github.com.

Have I incorrectly configure or misunderstood the proper process, or is this a bug? Thank you!

@ryankoski-at-work ryankoski-at-work changed the title Github enterprise configuration appears to nor work correctly Github enterprise configuration appears to not work correctly Sep 16, 2024
@TerminalFi
Copy link
Owner

Thanks, looking into this.

@dimon222
Copy link

dimon222 commented Dec 27, 2024

Incase people will find this thread by search, sheding some light that OP might have found already...
Copilot is not coming with self-hosted enterprise instances of GitHub, so it cannot be used airgapped and have to go through public enterprise cloud github. There are ways to link github enteprise instance account to public github account and that is how it can be used then for many users in single enterprise.

In other words github-enterprise setting effectively works as "referrer" rather than actual host to run Copilot from.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants