matrix-org / matrix-spec

The Matrix protocol specification
Apache License 2.0
171 stars 91 forks source link

Passing access tokens as query parameters should be deprecated #1780

Closed richvdh closed 2 months ago

richvdh commented 2 months ago

Some history:

IMHO it is past time to deprecate support for the query parameter with a view to removing it in a future spec version, for the following reasons:

richvdh commented 2 months ago

The OAuth 2.0 Security Best Current Practice document deprecates the query param usage:

Clients MUST NOT pass access tokens in a URI query parameter in the way described in Section 2.3 of [RFC6750].

turt2live commented 2 months ago

MSC4126 describes deprecation, and MSC4127 describes removal. See MSC4127 for process efficiencies if interested.