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:
1 parent
aca59431fe
commit
a44f28e656
24 files changed
+563
-39
No files matched your search
@@ -1260,6 +1260,10 @@
|
||||
}
|
||||
},
|
||||
"oauth": {
|
||||
"deviceCode": "设备码",
|
||||
"deviceCodeHelp": "复制此设备码,前往 GitHub 输入并授权。完成后此窗口会自动更新。",
|
||||
"waitingForDeviceApproval": "等待 GitHub 授权…",
|
||||
"openGitHub": "前往 GitHub",
|
||||
"authentication": "OAuth 认证",
|
||||
"signIn": "登录",
|
||||
"signingIn": "登录中...",
|
||||
|
||||
Reference in new issue
Block a user