microsoft / terminal

The new Windows Terminal and the original Windows console host, all in the same place!
MIT License
95.86k stars 8.34k forks source link

[Terminal Chat Setup] App link like ms-terminal-can://... doesn't launch Terminal #18158

Open dmealo opened 2 weeks ago

dmealo commented 2 weeks ago

Windows Terminal version

1.23.3091.0, 1.23.3101.0

Windows build number

10.0.22631.0

Other Software

No response

Steps to reproduce

  1. Launch Settings
  2. Navigate to Terminal Chat (Experimental)
  3. Expand GitHub Copilot under Service Providers
  4. Click Authenticate via GitHub
  5. Authenticate and approve access to GitHub account in browser
  6. Click "Open Terminal Canary" in resulting browser modal dialog

Expected Behavior

Windows Terminal Canary should launch and receive the auth token from GitHub to complete GitHub Copilot setup for Terminal Chat.

Actual Behavior

Windows Terminal Canary does not launch. This does not work from the default browser (Chrome) nor from Edge.

radrad commented 2 weeks ago

The same for me. It looks like Windows Terminal Canary is not registered to handle ms-terminal-can://...

I am on windows 10

carlos-zamora commented 1 week ago

Thanks for filing! Could you share what's in the OS's Settings app under "Apps" > "Default apps" > "Choose defaults by link type" /? It may be different on windows 10, but it should exist though.

We're expecting it to look something like this: Image

tino-github commented 1 week ago

I have the settings just like it shows in the screenshot: Image

However, the terminal does not get launched.

Zheke32174 commented 1 week ago

I am having the same issue. I can not find any solution online. I am on windows 11 24h2. I find this especially confusing because GH auth redirects back to the terminal from the browser but copilot does not.

jvcosmo commented 1 week ago

I'm unable to login to use Github Copilot because of that problem. Even registered, the browser doesn't redirect to terminal canary.

dmealo commented 3 days ago

My settings are as @tino-github ’s, please do not close.