Skip to content

Keep login tokens out of API debug logs - #210

Closed
astrinh0 wants to merge 1 commit into
mainfrom
codex/zone-off-and-redact-api-tokens
Closed

astrinh0 wants to merge 1 commit into
mainfrom
codex/zone-off-and-redact-api-tokens

Conversation

@astrinh0

Copy link
Copy Markdown
Collaborator

Summary

  • Log a fixed message when a synchronous or asynchronous API request receives a response body. This keeps login tokens and other response data out of debug logs.
  • Check that both login paths keep tokens out of debug logs and still use them to authenticate follow-up requests.

Testing

  • python -m unittest discover --start-directory tests -q passed all 109 tests.
  • git diff --check origin/main...HEAD passed.

@astrinh0 astrinh0 closed this Nov 25, 2026
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