github / github/copilot-language-server-release
The GitHub IDE plugin for Zed use http instead of https on local server which start authflow
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 290
- Fork
- 24
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
**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.
Hướng dẫn đóng góp
Hướng nghiên cứu
Start with the Zed IDE plugin's local authentication flow and inspect how it opens the /signin URL and handles the /callback URL on 127.0.0.1:33428. Compare both URLs with the browser behavior described, and consider the flow complete when authentication works without manually changing http to https.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- github
- Lĩnh vực
- authentication
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100