Answer: A workspace owner can set the longest validity window for new access tokens by opening Workspace settings > Permissions & roles and setting Access token expiration limit in the Access tokens section, or if that section doesn't appear, in Codex and Work Local or Codex Local. Status: Confirmed Entry: tool/codex/permissions-and-security/set-token-expiration-limit Revision: 1 Digest: sha256:36c20d43e28aa5fe (changes whenever the content changes) Timeline: Created: 2026-11-13T03:49:01Z Last changed: 2026-11-13T03:49:01Z Last verified: 2026-11-20T13:36:54Z Next check: 2026-11-21T13:36:54Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Setting name | Access token expiration limit | [1] | 2026-11-20 Settings location | Workspace settings > Permissions & roles | [1] | 2026-11-20 Alternate location 1 | Codex and Work Local | [1] | 2026-11-20 Alternate location 2 | Codex Local | [1] | 2026-11-20 Who can set it | A workspace owner | [1] | 2026-11-20 Scope | new access tokens | [1] | 2026-11-20 Sources: [1] OpenAI. "Access tokens". https://learn.chatgpt.com/docs/enterprise/access-tokens.md Role: primary. Accessed: 2026-11-20T13:36:54Z Quote: "set **Access token expiration limit**" (Supports: Setting name) Quote: "Open [Workspace settings > Permissions & roles](https://chatgpt.com/admin/permissions)." (Supports: Settings location) Quote: "look for that setting in **Codex and Work Local** or **Codex Local**." (Supports: Alternate location 1) Quote: "**Codex Local**" (Supports: Alternate location 2) Quote: "A workspace owner can set the longest validity window that members can choose for new access tokens." (Supports: Who can set it) Quote: "The limit applies to new access tokens. Existing tokens keep their current validity window." (Supports: Scope) Snapshot SHA-256: bd5b1821bc59ec534504caa8ed5960cd649425527f67680ba39a9aa389cec95a (captured 2026-11-13T03:49:00Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:49:01Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:36:54Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:36:54Z Last attempt: 2026-11-20T13:36:54Z Notes and limitations: Extracted automatically from a single official source (section "Set an access token expiration limit"). Related: https://latestn.com/tool/codex/permissions-and-security/set-up-daybreak How do I set up Daybreak Defense Factory to scan a GitHub repository with Codex Security? https://latestn.com/tool/codex/permissions-and-security/shell-wrappers-compound-commands How does Codex handle shell wrappers and compound commands when matching rules? https://latestn.com/tool/codex/permissions-and-security/start-deep-security-scan How do I start a deep security scan in Codex? https://latestn.com/tool/codex/permissions-and-security/sandbox-vs-approvals How do sandbox permissions and approval policies work together in Codex? https://latestn.com/tool/codex/permissions-and-security/security-review-prerequisites What do I need before I can configure Codex Security Review? https://latestn.com/tool/codex/permissions-and-security/set-approvals-execution-permissions How do I set approval and execution permissions for Codex using requirements.toml? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:49:01Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/codex/permissions-and-security/set-token-expiration-limit/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/codex/permissions-and-security/set-token-expiration-limit POST: https://latestn.com/dispute/tool/codex/permissions-and-security/set-token-expiration-limit with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/codex/permissions-and-security/set-token-expiration-limit?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I set an expiration limit for Codex access tokens? Revision 1, last verified 2026-11-20T13:36:54Z. https://latestn.com/tool/codex/permissions-and-security/set-token-expiration-limit (accessed 2026-11-21T10:03:12Z). @misc{LatestN_tool_codex_permissions_and_security_set_token_expiration_limit_r1, title = {How do I set an expiration limit for Codex access tokens?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/codex/permissions-and-security/set-token-expiration-limit}}, note = {Revision 1; digest sha256:36c20d43e28aa5fe; last verified 2026-11-20T13:36:54Z; accessed 2026-11-21T10:03:12Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/codex/permissions-and-security/set-token-expiration-limit