feat: rebuild kiro flow as independent desktop auth pipeline
This commit is contained in:
+39
-21
@@ -115,19 +115,19 @@
|
||||
{
|
||||
id: 1,
|
||||
order: 10,
|
||||
key: 'kiro-start-device-login',
|
||||
title: '启动设备登录',
|
||||
sourceId: 'kiro-device-auth',
|
||||
driverId: 'background/kiro-device-auth',
|
||||
command: 'kiro-start-device-login',
|
||||
key: 'kiro-open-register-page',
|
||||
title: '打开注册页',
|
||||
sourceId: 'kiro-register-page',
|
||||
driverId: 'background/kiro-register',
|
||||
command: 'kiro-open-register-page',
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
order: 20,
|
||||
key: 'kiro-submit-email',
|
||||
title: '获取邮箱并继续',
|
||||
sourceId: 'kiro-device-auth',
|
||||
driverId: 'background/kiro-device-auth',
|
||||
sourceId: 'kiro-register-page',
|
||||
driverId: 'background/kiro-register',
|
||||
command: 'kiro-submit-email',
|
||||
},
|
||||
{
|
||||
@@ -135,8 +135,8 @@
|
||||
order: 30,
|
||||
key: 'kiro-submit-name',
|
||||
title: '填写姓名并继续',
|
||||
sourceId: 'kiro-device-auth',
|
||||
driverId: 'background/kiro-device-auth',
|
||||
sourceId: 'kiro-register-page',
|
||||
driverId: 'background/kiro-register',
|
||||
command: 'kiro-submit-name',
|
||||
},
|
||||
{
|
||||
@@ -144,35 +144,53 @@
|
||||
order: 40,
|
||||
key: 'kiro-submit-verification-code',
|
||||
title: '获取验证码并继续',
|
||||
sourceId: 'kiro-device-auth',
|
||||
driverId: 'background/kiro-device-auth',
|
||||
sourceId: 'kiro-register-page',
|
||||
driverId: 'background/kiro-register',
|
||||
command: 'kiro-submit-verification-code',
|
||||
},
|
||||
{
|
||||
id: 5,
|
||||
order: 50,
|
||||
key: 'kiro-fill-password',
|
||||
key: 'kiro-submit-password',
|
||||
title: '设置密码并继续',
|
||||
sourceId: 'kiro-device-auth',
|
||||
driverId: 'background/kiro-device-auth',
|
||||
command: 'kiro-fill-password',
|
||||
sourceId: 'kiro-register-page',
|
||||
driverId: 'background/kiro-register',
|
||||
command: 'kiro-submit-password',
|
||||
},
|
||||
{
|
||||
id: 6,
|
||||
order: 60,
|
||||
key: 'kiro-confirm-access',
|
||||
title: '确认访问并授权',
|
||||
sourceId: 'kiro-device-auth',
|
||||
driverId: 'background/kiro-device-auth',
|
||||
command: 'kiro-confirm-access',
|
||||
key: 'kiro-complete-register-consent',
|
||||
title: '完成注册授权',
|
||||
sourceId: 'kiro-register-page',
|
||||
driverId: 'background/kiro-register',
|
||||
command: 'kiro-complete-register-consent',
|
||||
},
|
||||
{
|
||||
id: 7,
|
||||
order: 70,
|
||||
key: 'kiro-start-desktop-authorize',
|
||||
title: '启动桌面授权',
|
||||
sourceId: 'kiro-desktop-authorize',
|
||||
driverId: 'background/kiro-desktop-authorize',
|
||||
command: 'kiro-start-desktop-authorize',
|
||||
},
|
||||
{
|
||||
id: 8,
|
||||
order: 80,
|
||||
key: 'kiro-complete-desktop-authorize',
|
||||
title: '完成桌面授权',
|
||||
sourceId: 'kiro-desktop-authorize',
|
||||
driverId: 'background/kiro-desktop-authorize',
|
||||
command: 'kiro-complete-desktop-authorize',
|
||||
},
|
||||
{
|
||||
id: 9,
|
||||
order: 90,
|
||||
key: 'kiro-upload-credential',
|
||||
title: '上传凭据到 kiro.rs',
|
||||
sourceId: 'kiro-rs-admin',
|
||||
driverId: 'background/kiro-device-auth',
|
||||
driverId: 'background/kiro-publisher-kiro-rs',
|
||||
command: 'kiro-upload-credential',
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user