github / github/copilot-language-server-release

The GitHub IDE plugin for Zed use http instead of https on local server which start authflow

オープン
#42 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
言語のデータがありません
スター
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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
github
領域
authentication
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。