From: vlsi (@vlsi) <noreply+vlsi@github.com>
To: pgjdbc/pgjdbc <noreply+pgjdbc-pgjdbc@github.com>
Subject: Re: [pgjdbc/pgjdbc] PR #4251: OAuth implementation
Date: Wed, 23 Sep 2026 06:43:34 +0000
Message-ID: <gh-pgjdbc-pgjdbc-4251-rc4079734607@github.com> (raw)
In-Reply-To: <gh-pgjdbc-pgjdbc-4251@github.com>
References: <gh-pgjdbc-pgjdbc-4251@github.com>
(on pgjdbc/src/main/java/org/postgresql/core/v3/OAuthAuthenticator.java:189)
The message gives no action and doesn't say where the token came from. A token passed in the JDBC URL with a `+` fails here, because `Driver.parseURL` decodes `+` to a space. Suggested: `The OAuth bearer token contains a character that RFC 6750 section 2.1 does not allow. Check oauthToken, where a + in a URL must be written as %2B, or the value the OAuthTokenProvider returned.`