Skip to content

[codex] Stop logging OAuth secrets#147

Closed
zerox80 wants to merge 1 commit intoopencloud-eu:mainfrom
zerox80:codex/redact-auth-logs
Closed

[codex] Stop logging OAuth secrets#147
zerox80 wants to merge 1 commit intoopencloud-eu:mainfrom
zerox80:codex/redact-auth-logs

Conversation

@zerox80
Copy link
Copy Markdown
Contributor

@zerox80 zerox80 commented May 8, 2026

What changed

  • Removed OAuth code, token and state values from auth logs.
  • Redacted sensitive request and response fields in HTTP debug logs.
  • Made token response toString output safe, so accidental logs do not dump tokens.

Why

Some debug/support logs could include OAuth credentials. This keeps the useful flow logs, but drops the secret values.

Checks

  • git diff --check
  • Targeted rg scans for the old token/code log messages
  • Gradle tests not run locally because JAVA_HOME is not set and java is not on PATH

@zerox80
Copy link
Copy Markdown
Contributor Author

zerox80 commented May 8, 2026

Closing this one because the branch name was wrong. Replacement PR: #148

@zerox80 zerox80 closed this May 8, 2026
@zerox80 zerox80 deleted the codex/redact-auth-logs branch May 8, 2026 21:40
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