mirror of
https://github.com/openai/codex.git
synced 2026-11-26 23:40:43 +00:00
[codex][device-stable-id][12/n] Send source stable ID with managed auth requests
This commit is contained in:
@@ -357,6 +357,7 @@ impl AppServerSession {
|
||||
request_id: account_request_id,
|
||||
params: GetAccountParams {
|
||||
refresh_token: false,
|
||||
source_surface_stable_id: None,
|
||||
},
|
||||
})
|
||||
.await
|
||||
|
||||
@@ -875,6 +875,7 @@ impl AuthModeWidget {
|
||||
request_id: onboarding_request_id(),
|
||||
params: LoginAccountParams::Chatgpt {
|
||||
codex_streamlined_login: false,
|
||||
source_surface_stable_id: None,
|
||||
},
|
||||
})
|
||||
.await
|
||||
|
||||
@@ -34,7 +34,9 @@ pub(super) fn start_headless_chatgpt_login(widget: &mut AuthModeWidget) {
|
||||
match request_handle
|
||||
.request_typed::<LoginAccountResponse>(ClientRequest::LoginAccount {
|
||||
request_id: onboarding_request_id(),
|
||||
params: LoginAccountParams::ChatgptDeviceCode,
|
||||
params: LoginAccountParams::ChatgptDeviceCode {
|
||||
source_surface_stable_id: None,
|
||||
},
|
||||
})
|
||||
.await
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user