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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to