Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was 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

Closed
@reivilibre

Description

@reivilibre

The Application Services spec requires an access_token URL parameter for authorisation.

Setting a DEBUG log level means that synapse.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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-Application-ServiceRelated to AS supportS-MinorBlocks non-critical functionality, workarounds exist.T-EnhancementNew features, changes in functionality, improvements in performance, or user-facing enhancements.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions