Skip to content

OAuth tokens too long for Windows keyring #10353

Description

@ofek

What version of Codex is running?

0.93.0

What subscription do you have?

Plus

Which model were you using?

No response

What platform is your computer?

Windows 11

What terminal emulator and version are you using (if applicable)?

Windows Terminal

What issue are you seeing?

The primary login mechanism via OAuth doesn't work on Windows when using the keyring storage option.

Unable to persist auth file: failed to write OAuth tokens to keyring: Attribute 'password encoded as UTF-16' is longer than platform limit of 2560 chars
Image

What steps can reproduce the bug?

Log in with the following configuration:

cli_auth_credentials_store = "keyring"
mcp_oauth_credentials_store = "keyring"

What is the expected behavior?

No response

Additional information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions