github / github/copilot-language-server-release

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

Open
#42 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
290
Forks
24
PR merge metrics
No merged PRs in 30d

Description

**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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.