# CodexLoginInteraction

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/integrations/openai_codex/CodexLoginInteraction)

UI hooks for the browser loopback sign-in flow.

Implementations decide how to surface the authorize URL and whether to
auto-open a browser. The Textual screen subclasses this; CLI / headless
callers can supply a minimal stdout-based implementation.

The default base class implements the print-to-stdout fallback so it
works for headless tests and the `-x` non-interactive path; UI callers
override `show_authorize_url`.

## Signature

```python
CodexLoginInteraction()
```

## Methods

- [`show_authorize_url()`](https://reference.langchain.com/python/deepagents-code/integrations/openai_codex/CodexLoginInteraction/show_authorize_url)

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/e14e0adcbe78565ed3650e7f24b2a775d5437d25/libs/code/deepagents_code/integrations/openai_codex.py#L228)