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": "Device code",
|
||||
"deviceCodeHelp": "Copy this code and enter it on GitHub. This window will update automatically after authorization.",
|
||||
"waitingForDeviceApproval": "Waiting for GitHub authorization…",
|
||||
"openGitHub": "Open GitHub",
|
||||
"authentication": "OAuth authentication",
|
||||
"signIn": "Sign in",
|
||||
"signingIn": "Signing in...",
|
||||
|
||||
@@ -1061,6 +1061,10 @@
|
||||
}
|
||||
},
|
||||
"oauth": {
|
||||
"deviceCode": "Código de dispositivo",
|
||||
"deviceCodeHelp": "Copia este código e introdúcelo en GitHub. Esta ventana se actualizará automáticamente tras la autorización.",
|
||||
"waitingForDeviceApproval": "Esperando la autorización de GitHub…",
|
||||
"openGitHub": "Abrir GitHub",
|
||||
"authentication": "Autenticación OAuth",
|
||||
"signIn": "Iniciar sesión",
|
||||
"signingIn": "Iniciando sesión...",
|
||||
|
||||
@@ -1060,6 +1060,10 @@
|
||||
}
|
||||
},
|
||||
"oauth": {
|
||||
"deviceCode": "Code de l’appareil",
|
||||
"deviceCodeHelp": "Copiez ce code et saisissez-le sur GitHub. Cette fenêtre se mettra à jour automatiquement après l’autorisation.",
|
||||
"waitingForDeviceApproval": "En attente de l’autorisation GitHub…",
|
||||
"openGitHub": "Ouvrir GitHub",
|
||||
"authentication": "Authentification OAuth",
|
||||
"signIn": "Se connecter",
|
||||
"signingIn": "Connexion...",
|
||||
|
||||
@@ -1060,6 +1060,10 @@
|
||||
}
|
||||
},
|
||||
"oauth": {
|
||||
"deviceCode": "Kode perangkat",
|
||||
"deviceCodeHelp": "Salin kode ini dan masukkan di GitHub. Jendela ini akan diperbarui secara otomatis setelah otorisasi.",
|
||||
"waitingForDeviceApproval": "Menunggu otorisasi GitHub…",
|
||||
"openGitHub": "Buka GitHub",
|
||||
"authentication": "Autentikasi OAuth",
|
||||
"signIn": "Masuk",
|
||||
"signingIn": "Masuk...",
|
||||
|
||||
@@ -1060,6 +1060,10 @@
|
||||
}
|
||||
},
|
||||
"oauth": {
|
||||
"deviceCode": "デバイスコード",
|
||||
"deviceCodeHelp": "このコードをコピーして GitHub で入力し、認証してください。完了すると、この画面は自動的に更新されます。",
|
||||
"waitingForDeviceApproval": "GitHub の認証を待っています…",
|
||||
"openGitHub": "GitHub を開く",
|
||||
"authentication": "OAuth 認証",
|
||||
"signIn": "サインイン",
|
||||
"signingIn": "サインイン中...",
|
||||
|
||||
@@ -1060,6 +1060,10 @@
|
||||
}
|
||||
},
|
||||
"oauth": {
|
||||
"deviceCode": "기기 코드",
|
||||
"deviceCodeHelp": "이 코드를 복사하여 GitHub에 입력하고 인증하세요. 완료되면 이 창이 자동으로 업데이트됩니다.",
|
||||
"waitingForDeviceApproval": "GitHub 인증을 기다리는 중…",
|
||||
"openGitHub": "GitHub 열기",
|
||||
"authentication": "OAuth 인증",
|
||||
"signIn": "로그인",
|
||||
"signingIn": "로그인 중...",
|
||||
|
||||
@@ -1074,6 +1074,10 @@
|
||||
}
|
||||
},
|
||||
"oauth": {
|
||||
"deviceCode": "Código do dispositivo",
|
||||
"deviceCodeHelp": "Copie este código e insira-o no GitHub. Esta janela será atualizada automaticamente após a autorização.",
|
||||
"waitingForDeviceApproval": "Aguardando autorização do GitHub…",
|
||||
"openGitHub": "Abrir GitHub",
|
||||
"authentication": "Autenticação OAuth",
|
||||
"signIn": "Entrar",
|
||||
"signingIn": "Entrando...",
|
||||
|
||||
@@ -1060,6 +1060,10 @@
|
||||
}
|
||||
},
|
||||
"oauth": {
|
||||
"deviceCode": "Mã thiết bị",
|
||||
"deviceCodeHelp": "Sao chép mã này và nhập trên GitHub. Cửa sổ này sẽ tự động cập nhật sau khi ủy quyền.",
|
||||
"waitingForDeviceApproval": "Đang chờ ủy quyền GitHub…",
|
||||
"openGitHub": "Mở GitHub",
|
||||
"authentication": "Xác thực OAuth",
|
||||
"signIn": "Đăng nhập",
|
||||
"signingIn": "Đang đăng nhập...",
|
||||
|
||||
@@ -1260,6 +1260,10 @@
|
||||
}
|
||||
},
|
||||
"oauth": {
|
||||
"deviceCode": "设备码",
|
||||
"deviceCodeHelp": "复制此设备码,前往 GitHub 输入并授权。完成后此窗口会自动更新。",
|
||||
"waitingForDeviceApproval": "等待 GitHub 授权…",
|
||||
"openGitHub": "前往 GitHub",
|
||||
"authentication": "OAuth 认证",
|
||||
"signIn": "登录",
|
||||
"signingIn": "登录中...",
|
||||
|
||||
@@ -1060,6 +1060,10 @@
|
||||
}
|
||||
},
|
||||
"oauth": {
|
||||
"deviceCode": "裝置碼",
|
||||
"deviceCodeHelp": "複製此裝置碼,前往 GitHub 輸入並授權。完成後此視窗會自動更新。",
|
||||
"waitingForDeviceApproval": "等待 GitHub 授權…",
|
||||
"openGitHub": "前往 GitHub",
|
||||
"authentication": "OAuth 認證",
|
||||
"signIn": "登入",
|
||||
"signingIn": "登入中…",
|
||||
|
||||
Reference in new issue
Block a user