Is it possible to authenticate GitHub Copilot not via github.com/login in VS Code? #133366
Replies: 3 comments 2 replies
-
Hi @zhenyuan0502, To manually link your GitHub CLI login with the Copilot extension in VSCode, follow these steps:
This process should link your GitHub CLI authentication with the GitHub Authentication extension in VSCode, allowing Copilot to use the authenticated session. |
Beta Was this translation helpful? Give feedback.
-
Authenticating GitHub Copilot without using the github.com/login page in Visual Studio Code is currently not possible. GitHub Copilot requires authentication via GitHub's OAuth flow, which involves redirecting to the GitHub login page for user verification. This ensures secure and authorized access to 2048 cool math games method would not align with GitHub's security protocols. For a seamless experience, it's best to follow the provided authentication steps within VS Code. |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
For some reason, the policy is not allowed to access github.com/login, so any fallback or callback to this url is not possible, as purpose of restricting personal user login. Instead, we would like to login via EMU SSO, github.com/enterprises//sso, get there token and passing them to Copilot Extension.
I was trying to use GH CLI to login --with-token, but it seems no linkage to GitHub Authentication extension in VSCode. How can I do it manually? Thanks
Beta Was this translation helpful? Give feedback.
All reactions