Skip to content

fix: harden auth profile storage#118

Merged
shiny-code-bot merged 1 commit into
mainfrom
codex-lab-auth-profile-reliability
Jun 17, 2026
Merged

fix: harden auth profile storage#118
shiny-code-bot merged 1 commit into
mainfrom
codex-lab-auth-profile-reliability

Conversation

@shiny-code-bot

Copy link
Copy Markdown
Collaborator

Summary

  • make auth-profiles.json rewrites use unique temp files and platform-appropriate replacement
  • keep CODEX_ACCESS_TOKEN out of stored-only auth reads so named-profile status/login metadata/logout use profile-local credentials
  • add regressions for profile metadata replacement, env-token gating, and profile-local logout revoke behavior

Verification

  • cargo fmt --manifest-path codex-rs/Cargo.toml --all -- --check
  • cargo test -p codex-login save_profiles
  • cargo test -p codex-login load_auth_
  • cargo test -p codex-login logout_with_revoke_ignores_access_token_env
  • cargo check -p codex-login

@shiny-code-bot shiny-code-bot merged commit 696d836 into main Jun 17, 2026
6 checks passed
@shiny-code-bot shiny-code-bot deleted the codex-lab-auth-profile-reliability branch June 17, 2026 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant