You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "bharos (via GitHub)" <gi...@apache.org> on 2026/04/20 00:41:50 UTC

Re: [I] OAuth2: `OAuth2Manager#newSessionFromCredential` shouldn't pass `Authorization: Bearer xxx` from `parent` [iceberg]

bharos commented on issue #13337:
URL: https://github.com/apache/iceberg/issues/13337#issuecomment-4277220315

   I came across this while reviewing the OAuth2 auth code. The issue is that [fromCredential() passes parent.headers() ](https://github.com/apache/iceberg/blob/49839545d0027f17970868c5044f8005abce1267/core/src/main/java/org/apache/iceberg/rest/auth/OAuth2Util.java#L661)(which contains the parent's Bearer token) to fetchToken, while all other fetchToken call sites correctly pass Map.of(). I'll open a PR shortly


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org