Is it possible to authenticate GitHub Copilot not via github.com/login in VS Code? #133366
Replies: 5 comments 4 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. |
This comment was marked as off-topic.
This comment was marked as off-topic.
|
🕒 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! 💬 |
|
Any updates on this? |
|
I'm also looking for this feature. It's weird that Copilot CLI can do that, but it's not possible on VS Code GH Copilot. |

Uh oh!
There was an error while loading. Please reload this page.
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
All reactions