Message-ID: From: "sehrope (@sehrope)" To: "pgjdbc/pgjdbc" Date: Tue, 05 May 2026 12:54:47 +0000 Subject: Re: [pgjdbc/pgjdbc] issue #3816: Implement OAUTHBEARER to support PostgreSQL 18 OAuth flow In-Reply-To: References: List-Id: X-GitHub-Author-Login: sehrope X-GitHub-Comment-Id: 4379411548 X-GitHub-Comment-Type: issue_comment X-GitHub-Issue: 3816 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/issues/3816#issuecomment-4379411548 Content-Type: text/plain; charset=utf-8 > User don't have any token, makes empty auth request and PG returns info from obtaining token. Here libpq has injection point where custom logic can be added while by default it just logs this information. Does pgjdbc need injection point as well and what should be the default behavior? Don't we already have something like this via AuthenticationPlugin? https://github.com/pgjdbc/pgjdbc/blob/master/pgjdbc/src/main/java/org/postgresql/plugin/AuthenticationPlugin.java