Skip to content

Need device code auth support for remote development #149

@jellllly420

Description

@jellllly420

Now codex-acp explicitly removes the chatgpt account auth method in NO_BROWSER environment, which affects both ssh and devcontainer (see zed-industries/zed#47422).

let mut auth_methods = vec![
CodexAuthMethod::ChatGpt.into(),
CodexAuthMethod::CodexApiKey.into(),
CodexAuthMethod::OpenAiApiKey.into(),
];
// Until codex device code auth works, we can't use this in remote ssh projects
if std::env::var("NO_BROWSER").is_ok() {
auth_methods.remove(0);
}

Since OpenAI now enables device code auth, I wonder if we can support it in zed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions