ProDex Setup icon

ProDex Setup

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

Export Credential Values

AI-generated

Summary

Reads ChatGPT OAuth values from the ProDex auth.json file and returns them for use in an n8n credential. Optionally waits for login tokens to appear before exporting.

Inputs

  • Wait Time (Seconds) — How long to wait for tokens after browser login; defaults to 180 seconds. Set to 0 to skip waiting.

Output shape

A single item containing accessToken, refreshToken, idToken, accountId, expiresAt, codexHome, hasAgentIdentity, hasCompleteAuth, and an instruction message.

Reads the auth file from the resolved Codex home; it does not create or update n8n credentials. Errors if the auth file or required tokens are missing, or the ID token is invalid. hasAgentIdentity may be false for ChatGPT device login; hasCompleteAuth indicates whether the OAuth tokens are valid.

Links

Discussion