oauth: Classify oauth_client_secret as a password
authorJacob Champion <[email protected]>
Tue, 29 Apr 2025 20:08:55 +0000 (13:08 -0700)
committerJacob Champion <[email protected]>
Tue, 29 Apr 2025 20:08:55 +0000 (13:08 -0700)
commite974f1c2164bc677d55f98edaf99f80c0b6b89d9
treee3ea2c35bff21a543ac2fefc5d8132daf21a26a9
parentd2e7d2a09d7d17656418f8c859074db690af19ec
oauth: Classify oauth_client_secret as a password

Tell UIs to hide the value of oauth_client_secret, like the other
passwords. Due to the previous commit, this does not affect postgres_fdw
and dblink, but add a comment to try to warn others of the hazard in the
future.

Reported-by: Noah Misch <[email protected]>
Reviewed-by: Noah Misch <[email protected]>
Discussion: https://postgr.es/m/20250415191435.55.nmisch%40google.com
src/interfaces/libpq/fe-connect.c