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 21:00:14
Message-ID: E1xPR2k-00000000W0q-31Bp@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
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5e41e193f3f401109522eda1dd90d6e2c873bbd7

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 Tom Lane 2026-11-06 21:17:23 pgsql: Minor updates for back-branch release notes.
Previous Message Daniel Gustafsson 2026-11-06 21:00:03 pgsql: doc: Clarify that OAuth bearer tokens are sent in clear text