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 Copilot Extension Support (manual install) #19467

Open
bd82 opened this issue Feb 25, 2024 · 3 comments
Open

Github Copilot Extension Support (manual install) #19467

bd82 opened this issue Feb 25, 2024 · 3 comments

Comments

@bd82
Copy link

bd82 commented Feb 25, 2024

I understand it is not possible to automatically install Github Copilot in Gitpod
due to licensing issues (not published on open vsx registry).

Problem:

What I don't understand is why an end user cannot manually install it from the *.vsix file directly.
When I do so I get an error:

image

Possible Cause:

My understanding is that Copilot Ext uses Github Auth Provider in VScode and that Gitpod replaced the
implementation of the Github Authentication Extension which supplies this auth provider.

So the question is:

Does manually installing Copilot extension not work because:

  1. A problem in gitpod's replaced Github Auth extension implementation?
  2. Microsoft "locking down" usage of Copilot in None pure VSCode IDE context?

Related Issues:

@akosyakov
Copy link
Member

cc @jeanp413 could you answer?

@akosyakov
Copy link
Member

I would assume that somehow GitHub token is not good for Copilot extension, maybe some scopes are missing.

@bd82
Copy link
Author

bd82 commented Feb 26, 2024

I looked at this farther and I suspect that it is not related to scopes.

copilot extension seem to request only [user:email]
But it would still work properly if I modify it's bundled code to request something else (e.g [workflow]).

I suspect there is something special with the client_id which allows copilot to work.
Perhaps this is also why Personal Access Tokens are not supported in the copilot CLI.

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

No branches or pull requests

2 participants