This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
We should redact the Application Service access tokens from DEBUG logging produced by synapse.http.proxyagent
#13010
Labels
A-Application-Service
Related to AS support
S-Minor
Blocks non-critical functionality, workarounds exist.
T-Enhancement
New features, changes in functionality, improvements in performance, or user-facing enhancements.
The Application Services spec requires an
access_token
URL parameter for authorisation.Setting a
DEBUG
log level means thatsynapse.http.proxyagent
will log these access tokens in the URLs that it logs (possibly only if a HTTP proxy is in use?).It would be nice if they were redacted so that it's one less thing to trip homeserver admins up on when sharing debug logs for diagnosing issues.
I think we do something similar for incoming Client-Server API requests already.
The text was updated successfully, but these errors were encountered: