Export Credential Values
AI-generatedSummary
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.
hasAgentIdentitymay be false for ChatGPT device login;hasCompleteAuthindicates whether the OAuth tokens are valid.