pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Gustafsson <dgustafsson@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: doc: Clarify that OAuth bearer tokens are sent in clear text
Date: Fri, 06 Nov 2026 21:00:14 +0000
Message-ID: <E1xPR2k-00000000W0q-31Bp@gemulon.postgresql.org> (raw)

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.parragi@percona.com>
Co-authored-by: Daniel Gustafsson <daniel@yesql.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(-)



view thread (3+ messages)

Message-ID: <E1xPR2k-00000000W0q-31Bp@gemulon.postgresql.org>
Permalink:  ../E1xPR2k-00000000W0q-31Bp@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1xPR2k-00000000W0q-31Bp@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: dgustafsson@postgresql.org
  Subject: Re: pgsql: doc: Clarify that OAuth bearer tokens are sent in clear text
  In-Reply-To: <E1xPR2k-00000000W0q-31Bp@gemulon.postgresql.org>
  References: <E1xPR2k-00000000W0q-31Bp@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox