github / github/vscode-github-actions

GitHub Enterprise sign-in fails with "No auth flow succeeded" using OAuth and PAT on VPN

Đang mở
#488 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
TypeScript
Star
660
Fork
213
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

🐛 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.
Image

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)
Image

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.