github / github/copilot.vim

Unable to authenticate Copilot

未關閉
#177 2 則留言 4 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Vim Script
星號
11.7k
分支
810
PR 合併指標
30 天內沒有已合併 PR

描述

I am having the issue also reported here: https://github.com/orgs/community/discussions/126645

Setup: Copilot.vim is installed in git-for-windows VIM setup (cloned into `~/.vim/pack/github/start/copilot.vim`).
The browser is configured by `let g:browser = 'C:\Program Files\Mozilla Firefox\firefox.exe'`

After executing `:Copilot setup` I can authenticate using given OTP code, however on next try, copilot again wants to authenticate.
Also, in Qt creator, the sign in button is greyed.

Backporting to conpilot.vim version v1.11.3 makes it work: :Copilot setup gives me `Copilot: Authenticated as GitHub user (...)` and the Qt creator button turns active

貢獻指南

開啟貢獻指南

研究方向

使用 `:Copilot setup` 和已設定的 Firefox 瀏覽器,在 Git-for-Windows Vim 設定中重現該失敗,然後將行為與 copilot.vim v1.11.3 進行比較。檢查首次 OTP 流程後驗證是否仍然有效,以及 Qt Creator 的登入按鈕是否會變為啟用狀態;在受影響的設定中這兩種行為都能正常運作即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
vim
領域
authentication, tooling
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。