Vscode-pull-request-github: Unable to authenticate with github enterprise

Created on 5 May 2020  路  10Comments  路  Source: microsoft/vscode-pull-request-github


My current vscode workspace has an enterprise github project open, but the github pull requests plugin authenticates me with GitHub.com rather than my enterprise server.

I have been using the extension for a number of months with no problems, but when opening vscode yesterday I was prompted to authenticate, and have thus far been unable to get it to authenticate with my enterprise server.

I have followed the instructions in this wiki https://github.com/Microsoft/vscode-pull-request-github/wiki but the command mentioned to manually add an access token no longer seems to exist.

  • Extension version: 0.16.0
  • VSCode Version: 1.45.0-Insider
  • OS: MacOs
  • GitHub Enterprise Version: 2.19.8

Steps to Reproduce:

  1. Open vscode
  2. Select GitHub Pull Requests App
  3. Click to authenticate
  4. Complete the Github authentication flow in the resulting browser window, giving permission

Most helpful comment

Shouldn't this have been mentioned in the changelog atleast?

All 10 comments

They removed the support because they don't have servers... What ...

https://github.com/Microsoft/vscode-pull-request-github/wiki

Workaround for now is to downgrade to extension version 0.15

From Wiki

If you would still like to use the extension, you can use the "Install Another Version" option from the extensions viewlet to download version 0.15.0: https://github.com/Microsoft/vscode/issues/12764#issuecomment-442370545

I'm really sad about this :cry:

Shouldn't this have been mentioned in the changelog atleast?

Is there any chance to config the enterprise host and its token as follows?
image
I tried but it doesn't work...

Seems counter-intuitive that a paying customer is getting fewer features...

This is not github's offering. As far as vscode team's concern, they are just helping vscode community with some useful extensions. As they mentioned in wiki, they have some technical and resource challenges for providing support for GitHub enterprise.
May be we should help creating PRs for adding this support rather than expecting everything from dev team.

That's fair... but Microsoft owns GitHub. I guess I'm expecting a little more :-)

The wiki says:

This iteration we moved to a new method of authentication built into VSCode in an effort to unify authentication and account management, and this API currently doesn't support Enterprise accounts.

It's unclear how to contribute PR. Maybe there's a better write-up somewhere about the challenge...

Wow, this is really a shame, I use this extension daily for github enterprise, I wouldn't mind contributing to this..

That's fair... but Microsoft owns GitHub.

Maybe that's the problem ? :P

Anyway it mentions

Integrated sign in If your GitHub Enterprise is version 2.14.5 and above, you can authenticate in the same way as you would on GitHub, by clicking on the Sign In button when the dialog asking you to sign in shows up on the bottom right corner.
But I'm still not able to proceed with this... any idea ?

Also tried using the token but I get

image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alexdima picture alexdima  路  3Comments

joaomoreno picture joaomoreno  路  4Comments

erihanse picture erihanse  路  4Comments

kieferrm picture kieferrm  路  4Comments

sbatten picture sbatten  路  4Comments