rdblue commented on PR #10256:
URL: https://github.com/apache/iceberg/pull/10256#issuecomment-2111327877

   I'm surprised by this PR because I don't think that the auth properties 
should be overridden by a REST service. I'm not sure about it, but it sounds 
like @snazy seems to agree when he says that the OAuth2 endpoint shouldn't be 
part of the REST spec, when @flyrain points out that you should authenticate 
before hitting the config endpoint, and @danielcweeks points out that 
credentials are specifically called out in OAuth2 as client controlled.
   
   @adutra, what are you trying to accomplish here? Is this needed for some use 
case that you could, perhaps, explain?
   
   Right now, I see the assertion that the REST spec requires this, which I 
don't agree with (but maybe?) and also @adutra saying things like "I think it 
makes sense for the client to apply all configuration received" -- is that the 
basis for this?
   
   I think I need to understand the motivation. Otherwise, I think the argument 
that auth (including the auth endpoint) should be client-side configuration 
only. This could introduce a way to get the client's credential -- that is, 
secret -- and that's something we should be _very_ careful about.


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