flyrain opened a new issue, #462: URL: https://github.com/apache/iceberg-python/issues/462
### Feature Request / Improvement [OAuth2 Scope](https://oauth.net/2/scope/) is a mechanism to limit an application's access to a user's account. It can also be used to ask for more information like [openId user profile](https://openid.net/specs/openid-connect-core-1_0.html#ScopeClaims)(id, name, email, etc). The user profile can be used for ACL in the server side. Currently PyIceberg hard-codes it to `catalog`, which cannot support the use case above. I'd suggest to make it configurable. WDYT? cc @Fokko @danielcweeks @syun64 @RussellSpitzer Here is an curl example for better understanding. ``` curl --request POST \ --url https://xxx.com/oauth2/token \ --header 'Authorization: Basic xxx' \ --header 'content-type: multipart/form-data' \ --form grant_type=client_credentials \ --form 'scope=openid offline corpds:ds:profile' \ ``` -- 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.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