geruh commented on issue #1684: URL: https://github.com/apache/iceberg-python/issues/1684#issuecomment-2670114117
Yeah, this definitely seems like an inconsistency in behavior between Python and Java, as PyIceberg allows the server to override the user's OAuth2 URL before initialization, whereas Java enforces that the client explicitly sets it. It's probably best to align with Java, given that they’ve been working on this for a while per this [doc](https://docs.google.com/document/d/1Xi5MRk8WdBWFC3N_eSmVcrLhk3yu5nJ9x_wC0ec6kVQ/edit?tab=t.0#heading=h.2xju2266i6df). However, to your point yeah it is a bit weird I still think it’s a good question to raise for the Java side. While they are enforcing that the client must configure this property, it can be useful for the **server** to enforce the latest url with the config endpoint. Although this only works if the config endpoint is a discovery api meaning no auth just conf. -- 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