﻿---
title: "强制登录方式和 ChatGPT 工作区"
filename: "~/.codex/config.toml"
canonical: /templates/forced-login-method/
---

# 强制登录方式和 ChatGPT 工作区

顶层键。不符会登出退出。不要写进仓库给别人「建议」。

```
forced_login_method = "chatgpt"
forced_chatgpt_workspace_id = "00000000-0000-0000-0000-000000000000"

```
