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

   Related: https://github.com/apache/iceberg/issues/8869
   
   Introduce `OAuth2Properties.TOKEN_URI = "token-uri"` that can be used to 
override the default behavior that assumes that the Rest Catalog Server is an 
Auth Server, and that the token endpoint is provided on the Rest Catalog Server.
   
   If this value is set, fetchToken and exchangeToken calls will use this 
endpoint instead to retrieve a valid access token.
   
   HttpClient.execute call has been modified to submit requests against the 
provided string, if the value is a valid https uri. If not, it will fallback to 
the previous behavior and attempt to construct the baseUri against the config 
provided catalog uri.
   
   All tests requiring checks against "v1/oauth/tokens" endpoint has been 
updated to be parameterized with a configurable endpoint argument, to make sure 
that all token calls are routed to the separate URI.


-- 
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-unsubscr...@iceberg.apache.org

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


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

Reply via email to