pgsql: doc: Clarify that OAuth bearer tokens are sent in clear text

From: Daniel Gustafsson <dgustafsson(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: doc: Clarify that OAuth bearer tokens are sent in clear text
Date: 2026-11-06 20:58:59
Message-ID: E1xPR1X-00000000VzB-3EOE@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

doc: Clarify that OAuth bearer tokens are sent in clear text

The bearer token used by OAUTHBEARER authentication is transmitted in
clear text over the network, which makes it vulnerable to sniffing and
similar attacks. This adds a note that SSL connections are recommended
for OAuth authentication.

Backpatch down to v18 where OAuth was introduced.

Author: Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
Co-authored-by: Daniel Gustafsson <daniel(at)yesql(dot)se>
Discussion: https://postgr.es/m/CAN4CZFNy23wWKF+78QG3cfunjJpQWFc7eNP7qcYPB6Sg-NhTQQ@mail.gmail.com
Backpatch-through: 18

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/bb8a88bbd1c7a9876b040e9eb54a77af192a52e3

Modified Files
--------------
doc/src/sgml/client-auth.sgml | 8 ++++++--
doc/src/sgml/protocol.sgml | 10 ++++++++++
2 files changed, 16 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2026-11-06 21:00:03 pgsql: doc: Clarify that OAuth bearer tokens are sent in clear text
Previous Message Andres Freund 2026-11-06 20:13:36 pgsql: ci: Make runs-on overridable