# open_chatgpt_login_url

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/tui/widgets/codex_auth/open_chatgpt_login_url)

Open the ChatGPT account page in the user's browser.

Used by `/auth` to let signed-in users jump to chatgpt.com (e.g., to
change account, manage billing).

## Signature

```python
open_chatgpt_login_url() -> bool
```

## Returns

`bool`

Whether a browser actually launched — callers can fall back to a
manual-URL toast on `False`.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/e14e0adcbe78565ed3650e7f24b2a775d5437d25/libs/code/deepagents_code/tui/widgets/codex_auth.py#L427)