OAuth authentication
OAUTHBEARER SASL authentication in libpq and the server, with libpq-oauth and validator modules.
Versions
- PostgreSQL 20 · worked-on · improved · moderate
- PostgreSQL 19 · shipped · improved · moderate · 14 commits · +2.2k / -696 lines
- Make PGOAUTHCAFILE in libpq-oauth work out of debug mode
- Custom oauth validator options
- [oauth] Stabilize the libpq-oauth ABI (and allow alternative implementations?)
- unclear OAuth error message
- Improve OAuth discovery logging
- [oauth] Split and extend PGOAUTHDEBUG
- [PATCH] Add PQgetThreadLock() to expose the Kerberos/Curl mutex
- PostgreSQL 18 · shipped · new · major · 19 commits · +11.5k / -580 lines
- PostgreSQL 17 · shipped · new · major · 2 commits · +86 / -80 lines
- PostgreSQL 16 · worked-on · new · major
- PostgreSQL 15 · worked-on · new · major
Threads
- Emptying oauth_validator_libraries doesn't stop OAuth logins
- Require SSL connection to postgres for oauth
- Custom oauth validator options
- Postmaster crashes on SIGHUP when oauth_validator_libraries holds only whitespace
- Add explicit warnings about unsafe OAuth trace output for libpq
- [oauth] Increased CPU usage during device flow with libcurl 8.20.0
- pgsql: doc: Clarify OAuth validator authn_id logging
- Fix OAuth validator docs for error_detail on internal errors
- oauth integer overflow
- [oauth] Bug: when is shutdown_cb called?
- [oauth] Fix minimal typo in OAuth
- Improve PQauthDataHook_type docs
- [PATCH] OAuth: fix performance bug with stuck multiplexer events
- unclear OAuth error message
- [oauth] Split and extend PGOAUTHDEBUG
- Improve OAuth discovery logging
- [oauth] Stabilize the libpq-oauth ABI (and allow alternative implementations?)
- [OAuth2] Infrastructure for tracking token expiry time
- Make PGOAUTHCAFILE in libpq-oauth work out of debug mode
- [oauth] Per connection auth hooks in libpq
- [oauth] Add TLS support to OAuth tests
- [PATCH] Add PQgetThreadLock() to expose the Kerberos/Curl mutex
- [patch] Add support for connection strings to createuser and dropuser
- [OAuth] Missing dependency on oauth_validator test
- Missing oauth_validator_libraries in variable_is_guc_list_quote()
- Few untranslated error messages in OAuth
- Intention to start an [oauth] "working group"
- CURL_IGNORE_DEPRECATION
- [PATCH] Fix missing comma in Requires.private with a Make macro
- OAuth client code doesn't work with Google OAuth
- pgsql: oauth: Add unit tests for multiplexer handling
- [PoC] Federated Authn/z with OAUTHBEARER
- [PATCH] Fix OAuth feature detection on OpenBSD+Meson
- [PATCH] Fix incomplete memory clearing in OAuth authentication
- [PATCH] oauth: Prevent stack overflow by limiting JSON parse depth
- dispchar for oauth_client_secret
- pgsql: Add support for OAUTHBEARER SASL mechanism
- pg_parse_json() should not leak token copies on failure
- Refactor SASL exchange in preparation for OAuth Bearer
- Support json_errdetail in FRONTEND builds
- Feature request support MS Entra ID Authentication from On-premises PostreSQL server
- [PATCH] Pull general SASL framework out of SCRAM
- [PATCH] Make jsonapi usable from libpq
- Dependency to logging in jsonapi.c