GitHub Enterprise sign-in fails with "No auth flow succeeded" using OAuth and PAT on VPN
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 冷清
- 技术栈
- github, typescript, vscode
调研方向
首先,在连接 VPN 的情况下,使用报告中的 GitHub Enterprise 主机,在 Windows 11 上复现 OAuth、device-code 和 PAT 流程。检查 github.gitAuthenticationHosts、github.enterpriseServer 和 github-enterprise.uri 的处理方式,然后验证通过至少一种受支持的流程,是否能够完成对报告中 enterprise server 的登录。
由索引模型根据 Issue 内容生成。
描述
🐛 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
- 主要语言
- TypeScript
- 星标
- 662
- 派生
- 218
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
github/vscode-github-actions 的其他 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 76/100
github/vscode-github-actions#627 · 2 个 reaction ·
-
难度 5/5 一周以上 新手友好度 20/100
github/vscode-github-actions#630 · 3 条评论 · 3 个 reaction ·
-
long work未关闭
难度 4/5 3-5 天 新手友好度 25/100
github/vscode-github-actions#628 ·
-
bug
难度 3/5 1-2 天 新手友好度 55/100
github/vscode-github-actions#625 ·
-
bug
难度 3/5 1-2 天 新手友好度 64/100
github/vscode-github-actions#621 · 3 条评论 ·
查看 github/vscode-github-actions 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 72/100
betagouv/mon-entreprise#4699 ·
维护者通常 3 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
jaegertracing/jaeger-ui#4547 · 3 条评论 ·
维护者通常 1 天内回复
-
ai-driven-qa
难度 2/5 1-3 小时 新手友好度 84/100
linagora/twake-calendar-frontend#1467 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
need4deed-org/sdk#267 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
auth0/universal-login#414 ·
维护者通常 1 天内回复