Nils Codex Setup icon

Nils Codex Setup

One-time ChatGPT subscription login for Nils Codex. Run Start Device Login, complete browser auth, then Wait for Login Complete before using the Nils Codex node.

Wait for Login Complete

AI-generated

Summary

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: false is normal for ChatGPT device login; check hasCompleteAuth instead.

Links

Discussion