github / github/app

Cannot correct a mistyped GitHub Enterprise domain during setup

未关闭
#3,187 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
没有语言数据
星标
2.1k
派生
153
PR 合并指标
30 天内没有已合并 PR

描述

## Short summary

GitHub Enterprise sign-in remains locked to a mistyped domain with no way to edit or reset it.

## Affected version or release

v1.1.12 (commit `5265222`)

## Installation context

Local GitHub Copilot desktop app installation on Windows x86-64. The problem occurs during initial setup, before authentication or repository access.

## What happened?

During initial setup, I selected GitHub Enterprise sign-in and mistyped the domain as `ghe.microsoft.com` instead of `microsoft.ghe.com`.

After continuing to the device-code screen, I could not return to the domain-entry step or change the enterprise domain. The only available paths were to perform a health check or return to the device-code screen.

Quitting and reopening the app did not make the domain editable or restart the sign-in configuration, leaving setup blocked.

## Steps to reproduce

1. Install and open the GitHub Copilot app.
2. Begin the initial sign-in experience.
3. Select GitHub Enterprise.
4. Enter an incorrect domain, such as `ghe.microsoft.com`.
5. Continue to the device-code screen.
6. Attempt to return to the domain-entry step and correct the domain.
7. Quit and reopen the app.
8. Observe that there is still no way to enter the correct domain.

## Expected behavior

The sign-in flow should provide a way to go back and edit or clear the GitHub Enterprise domain.

Restarting the app before authentication is completed should also allow the sign-in configuration to be restarted.

## Additional context

- Operating system: Windows x86-64
- GitHub Copilot app: 1.1.12
- App commit: `5265222`
- Bundled Copilot CLI: 1.0.80
- Bundled GitHub CLI: 2.96.0

The exported health check confirms that authentication was not saved:

```json
"auth": {
"host": null,
"login": null,
"message": "No saved GitHub authentication found."
}
```

The application log identifies the affected build:

```text
GitHub Copilot app started ... version=1.1.12 commit=5265222 platform=windows arch=x86_64
```

I have a complete diagnostics archive and can provide it privately if needed. I have not attached it publicly because it contains local usernames, filesystem paths, ports, and environment details.

贡献指南

打开贡献指南

调研方向

在 Windows 上使用拼写错误的域名重现最初的 GitHub Enterprise 登录流程,然后检查输入域名与设备代码身份验证之间的设置状态。确认可以编辑或清除域名,并且在身份验证前重启会重置设置;验证运行状况检查仍报告没有保存的身份验证信息。

由索引模型根据 Issue 内容生成。

评估

技术栈
github
领域
authentication, desktop
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。