Wait for Login Complete
AI-generatedSummary
Waits for ChatGPT device login to finish and for valid OAuth tokens to be available in the Codex auth.json file. Use it after completing the browser sign-in started by Start Device Login; successful output confirms hasCompleteAuth: true.
Inputs
- Wait Time (Seconds) — Maximum time to wait for valid OAuth tokens, in seconds; defaults to 180 seconds. Increase it if the container is slow.
Output shape
A single item containing login status and account details.
On success, includes
codexHome,hasAgentIdentity,hasCompleteAuth,accountId, and instructions.hasAgentIdentitymay be false for ChatGPT device login;hasCompleteAuth: trueindicates valid access, refresh, and ID tokens were found. If login is incomplete before the timeout, the operation raises an error with login status and log-file details.