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 authentication #1

Open
mani144 opened this issue Sep 4, 2023 · 7 comments
Open

GitHub authentication #1

mani144 opened this issue Sep 4, 2023 · 7 comments

Comments

@mani144
Copy link

mani144 commented Sep 4, 2023

Greetings Faris ,

mid there a way to bypass the authentication process for GitHub Copilot, because the plug-in that is in vscode is not fully offline , but needs authentication in order to make your middleware works.

thanks a lot

@FarisHijazi
Copy link
Owner

that's an interesting problem, I was not aware of this, I always was authenticated when trying it out.
Could you somehow find out what the exact authentication call is? maybe using wireshark or tcpdump?

@FarisHijazi
Copy link
Owner

FarisHijazi commented Sep 4, 2023

what you can do now is use a different frontend like fauxpilot frontend or code-clippy

@mani144
Copy link
Author

mani144 commented Sep 4, 2023

that's an interesting problem, I was not aware of this, I always was authenticated when trying it out. Could you somehow find out what the exact authentication call is? maybe using wireshark or tcpdump?

i will check it once i have time , i think the best solution currently is to create opensource VSIX that will do Github Copilot work without the need for too many dependencies.
for example fauxpilot will require fauxpilot server ( which runs on docker and requires nvidia ) which limits the customization of a backend.

@FarisHijazi
Copy link
Owner

FarisHijazi commented Sep 4, 2023

I think fauxpilot frontend can run on oobabooga. I'm not a fan of fauxpilot server

@joshfranzen
Copy link
Contributor

I had a similar issue with the github copilot extension failing to initialize the extension due to being unable to retrieve a token from github for the copilot subscription.

@FarisHijazi
Copy link
Owner

Could you guys run wireshark or tcpdump to capture the authentication request, maybe we could make an endpoint to emulate that and accept the auth

@joshfranzen
Copy link
Contributor

joshfranzen commented Oct 20, 2023

Just found a similar issue on the FauxPilot repo:

fauxpilot/fauxpilot#1 (comment)

Edit:
Here's a step-by-step:

fauxpilot/fauxpilot#1 (comment)

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