Skip to content

Commit 4d8b71d

Browse files
Fix typo in error message for OAuth login (#6159)
Error message for attempting to OAuth with a remote RCP is incorrect and misleading. The correct config is ``` [features] rmcp_client = true ``` Co-authored-by: Eric Traut <etraut@openai.com>
1 parent b484672 commit 4d8b71d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codex-rs/cli/src/mcp_cmd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ async fn run_login(config_overrides: &CliConfigOverrides, login_args: LoginArgs)
353353
.context("failed to load configuration")?;
354354

355355
if !config.features.enabled(Feature::RmcpClient) {
356-
bail!("OAuth login is only supported when [feature].rmcp_client is true in config.toml.");
356+
bail!("OAuth login is only supported when [features].rmcp_client is true in config.toml.");
357357
}
358358

359359
let LoginArgs { name, scopes } = login_args;

0 commit comments

Comments
 (0)