bharos opened a new pull request, #16056:
URL: https://github.com/apache/iceberg/pull/16056

   fromCredential() was passing parent.headers() (containing the parent 
session's Bearer token) to fetchToken when making a client_credentials grant 
request. This violates RFC 6749 Section 2.3 which states the client MUST NOT 
use more than one authentication method per request.
   
   IDPs like CAS and AWS Cognito reject the request due to the extra 
Authorization header, while lenient IDPs silently ignore it.
   
   All other fetchToken call sites correctly pass Map.of(). This change aligns 
fromCredential() with that pattern.
   
   Closes #13337


-- 
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