fix(webui): complete Copilot device sign-in in the browser

Reuse the device-flow adapter from #5498, expose its prompt in the existing OAuth dialog, and keep credential persistence scoped to uncancelled completion.

Co-authored-by: chengyongru <chengyongru.ai@gmail.com>
This commit is contained in:
Xubin Renandchengyongru committed 2026-09-21 00:13:46 +08:00
1 parent aca59431fe
commit a44f28e656
24 files changed
+563 -39

No files matched your search

+4
View File
@@ -1060,6 +1060,10 @@
}
},
"oauth": {
"deviceCode": "기기 코드",
"deviceCodeHelp": "이 코드를 복사하여 GitHub에 입력하고 인증하세요. 완료되면 이 창이 자동으로 업데이트됩니다.",
"waitingForDeviceApproval": "GitHub 인증을 기다리는 중…",
"openGitHub": "GitHub 열기",
"authentication": "OAuth 인증",
"signIn": "로그인",
"signingIn": "로그인 중...",