Microsoft/vscode

Clicking URLs in terminal while connecting are opened only after connecting

Open

#236,398 创建于 2024年5月3日

在 GitHub 查看
 (2 评论) (0 反应) (1 负责人)TypeScript (10,221 fork)batch import
bugconfirmation-pendinghelp wantedremoteterminal-links

仓库指标

Star
 (74,848 star)
PR 合并指标
 (平均合并 11小时 43分钟) (30 天内合并 1,000 个 PR)

描述

  • VSCode Version: 1.88.1
  • Local OS Version: Linux x64 6.5.0-28-generic
  • Remote OS Version: Linux 4.18.0-513.24.1.el8_9.x86_64 x86_64
  • Remote Extension/Connection Type: Server

I'm not sure which of the remote development plugins causes this, that's why I'm opening a general issue. Apologies if this is the wrong spot.

The remote machine I'm connecting to requires 2FA. The terminal shows a URL to visit, which handles the 2FA procedure. The problem is that when I CTRL+click on the URL, it doesn't open. It only opens after the procedure is done. I assume there is some blocking / waiting going that doesn't allow this event to go through directly.

  • Logs:
Logging in as <username> from <redacted>.
Please open https://<2fa_link> to complete logon.

Steps to Reproduce:

  1. Try to connect to machine.
  2. Get prompted to go to 2FA link.
  3. Click link.
  4. Nothing happens.
  5. Copy link manually and complete 2FA procedure.
  6. Setup continues as normal.
  7. The link opens (from the original click).

Does this issue occur when you try this locally?: No Does this issue occur when you try this locally and all extensions are disabled?: No

贡献者指南