github / github/vscode-github-actions
GitHub Enterprise sign-in fails with "No auth flow succeeded" using OAuth and PAT on VPN
- 主要語言
- TypeScript
- 星號
- 660
- 分支
- 213
- PR 合併指標
- 30 天內沒有已合併 PR
描述
🐛 Describe the bug
VS Code fails to authenticate with our GitHub Enterprise server (https://git.cedacrigroup.it) via any supported auth flow.
After attempting both OAuth and Personal Access Token (PAT), the error Sign in failed: Error: No auth flow succeeded is always shown.
🔁 To Reproduce
Steps to reproduce the behavior:
Connected to company VPN
Open VS Code (latest version)
Sign in to GitHub Enterprise:
OAuth → browser opens, but fails to complete flow
Device code → hangs or fails
PAT → accepted, then "No auth flow succeeded" error
VS Code never completes login
✅ Expected behavior
Login to GitHub Enterprise (git.cedacrigroup.it) should complete either via OAuth, device code, or PAT.
The GitHub Pull Requests and Issues extension should be able to authenticate properly.
📷 Screenshots
OAuth failure:
Sign in failed: Error: No auth flow succeeded.
PAT failure:
Same message after entering token.
Extension prompt appears but does not finish.
📦 Extension Version
github.vscode-pull-request-github: 0.112.0
ms-vscode.azure-repos: 0.40.0
github.vscode-github-actions:
0.27.2
VS Code: 1.101.2 (user setup)
OS: Windows 11
VPN: Yes (corporate)
📎 Additional context
The GitHub Enterprise server is reachable in browser (https://git.cedacrigroup.it)
SSO might be enabled on the enterprise server
Tried setting github.gitAuthenticationHosts and github.enterpriseServer in settings.json
Also attempted to manually set github-enterprise.uri
貢獻指南
研究方向
先在連線至 VPN 的情況下,使用報告中的 GitHub Enterprise 主機,在 Windows 11 上重現 OAuth、device-code 和 PAT 流程。檢查 github.gitAuthenticationHosts、github.enterpriseServer 和 github-enterprise.uri 的處理方式,然後驗證是否能透過至少一種受支援的流程完成對報告中 enterprise server 的登入。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- github, typescript, vscode
- 領域
- authentication, devtools
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 冷清
- 描述清晰度
- 需要釐清
- 新手友好度
- 35/100