[codex][device-stable-id][12/n] Send source stable ID with managed auth requests

This commit is contained in:
Riley Pinkerton
2026-06-18 07:04:07 +00:00
parent e7b6e0d859
commit 82008057b1
36 changed files with 358 additions and 40 deletions
@@ -1227,6 +1227,13 @@
"refreshToken": {
"description": "When `true`, requests a proactive token refresh before returning.\n\nIn managed auth mode this triggers the normal refresh-token flow. In external auth mode this flag is ignored. Clients should refresh tokens themselves and call `account/login/start` with `chatgptAuthTokens`.",
"type": "boolean"
},
"sourceSurfaceStableId": {
"default": null,
"type": [
"string",
"null"
]
}
},
"type": "object"
@@ -1442,6 +1449,13 @@
"codexStreamlinedLogin": {
"type": "boolean"
},
"sourceSurfaceStableId": {
"default": null,
"type": [
"string",
"null"
]
},
"type": {
"enum": [
"chatgpt"
@@ -1458,6 +1472,13 @@
},
{
"properties": {
"sourceSurfaceStableId": {
"default": null,
"type": [
"string",
"null"
]
},
"type": {
"enum": [
"chatgptDeviceCode"
@@ -10220,6 +10220,13 @@
"refreshToken": {
"description": "When `true`, requests a proactive token refresh before returning.\n\nIn managed auth mode this triggers the normal refresh-token flow. In external auth mode this flag is ignored. Clients should refresh tokens themselves and call `account/login/start` with `chatgptAuthTokens`.",
"type": "boolean"
},
"sourceSurfaceStableId": {
"default": null,
"type": [
"string",
"null"
]
}
},
"title": "GetAccountParams",
@@ -11364,6 +11371,13 @@
"codexStreamlinedLogin": {
"type": "boolean"
},
"sourceSurfaceStableId": {
"default": null,
"type": [
"string",
"null"
]
},
"type": {
"enum": [
"chatgpt"
@@ -11380,6 +11394,13 @@
},
{
"properties": {
"sourceSurfaceStableId": {
"default": null,
"type": [
"string",
"null"
]
},
"type": {
"enum": [
"chatgptDeviceCode"
@@ -6616,6 +6616,13 @@
"refreshToken": {
"description": "When `true`, requests a proactive token refresh before returning.\n\nIn managed auth mode this triggers the normal refresh-token flow. In external auth mode this flag is ignored. Clients should refresh tokens themselves and call `account/login/start` with `chatgptAuthTokens`.",
"type": "boolean"
},
"sourceSurfaceStableId": {
"default": null,
"type": [
"string",
"null"
]
}
},
"title": "GetAccountParams",
@@ -7809,6 +7816,13 @@
"codexStreamlinedLogin": {
"type": "boolean"
},
"sourceSurfaceStableId": {
"default": null,
"type": [
"string",
"null"
]
},
"type": {
"enum": [
"chatgpt"
@@ -7825,6 +7839,13 @@
},
{
"properties": {
"sourceSurfaceStableId": {
"default": null,
"type": [
"string",
"null"
]
},
"type": {
"enum": [
"chatgptDeviceCode"
@@ -4,6 +4,13 @@
"refreshToken": {
"description": "When `true`, requests a proactive token refresh before returning.\n\nIn managed auth mode this triggers the normal refresh-token flow. In external auth mode this flag is ignored. Clients should refresh tokens themselves and call `account/login/start` with `chatgptAuthTokens`.",
"type": "boolean"
},
"sourceSurfaceStableId": {
"default": null,
"type": [
"string",
"null"
]
}
},
"title": "GetAccountParams",
@@ -26,6 +26,13 @@
"codexStreamlinedLogin": {
"type": "boolean"
},
"sourceSurfaceStableId": {
"default": null,
"type": [
"string",
"null"
]
},
"type": {
"enum": [
"chatgpt"
@@ -42,6 +49,13 @@
},
{
"properties": {
"sourceSurfaceStableId": {
"default": null,
"type": [
"string",
"null"
]
},
"type": {
"enum": [
"chatgptDeviceCode"