Actions5
Wait for Login Complete
AI-generatedSummary
Waits for ChatGPT device login to save valid OAuth tokens in auth.json, then reports the authentication status and Codex home path. Run it after completing browser authentication from Start Device Login; hasCompleteAuth: true indicates the Nils Codex node can use the login.
Inputs
- Wait Time (Seconds) — Maximum time to wait for login completion, in seconds. Defaults to 180; values below 1 are treated as 1. Increase it if the container is slow.
Output shape
A single item containing codexHome, hasAgentIdentity, hasCompleteAuth, accountId, and instructions.
The operation waits for valid access, refresh, and ID tokens in
auth.json. If login has not completed before the timeout, it raises an error with login status and log details.hasAgentIdentity: falseis normal for ChatGPT device login; checkhasCompleteAuthinstead.
