github / github/copilot-language-server-release
The GitHub IDE plugin for Zed use http instead of https on local server which start authflow
- 主要语言
- 没有语言数据
- 星标
- 290
- 派生
- 24
- PR 合并指标
- 30 天内没有已合并 PR
描述
**Steps:**
1. When start the IDE Plugin it ask to authenticate with GitHub Copilot. When user click authenticate the following url is open in the browser. `http://127.0.0.1:33428/signin?nonce=`
2. Most modern browsers doesn't load http pages like Safari for example.
A workaround is to change the url from `http://127.0.0.1:33428/signin?nonce=` to `https://127.0.0.1:33428/signin?nonce=`. This allow the auth flow to redirect to Github App Permission page and authenticate.
3. But then again the problem encounters with the callback url which is `http://127.0.0.1:33428/callback?browser_session_id=`.
A workaround for this is again to change from `http` to `https` to complete the auth flow.
贡献指南
调研方向
从 Zed IDE plugin 的本地身份验证流程开始,检查它如何打开 /signin URL,以及如何处理 127.0.0.1:33428 上的 /callback URL。将这两个 URL 与所描述的浏览器行为进行比较,并在无需手动将 http 更改为 https 的情况下身份验证能够正常工作时,认为该流程已完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- github
- 领域
- authentication
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100