Github enterprise configuration appears to not work correctly
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!
Thanks, looking into this.
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.
Worked for me with
{
"settings": {
"authProvider": "github-enterprise",
"github-enterprise": {
"uri": "https://yourdomain.ghe.com"
},
},
}
NB: "uri" , not "url"