flyrain opened a new issue, #463:
URL: https://github.com/apache/iceberg-python/issues/463

   ### Feature Request / Improvement
   
   It seems PyIceberg only supports OAuth2 [token exchange 
flow](https://datatracker.ietf.org/doc/html/rfc8693#name-token-exchange-request-and-).
 Here is the token response definition in the file rest.py. The field 
`issued_token_type` is only used by the token exchange flow. Can we support 
other flows? For example, one of the most used flow is [client credential 
flow](https://datatracker.ietf.org/doc/html/rfc6749#section-4.4).  cc 
@danielcweeks @Fokko @syun64 @RussellSpitzer 
   ```
   class TokenResponse(IcebergBaseModel):
       access_token: str = Field()
       token_type: str = Field()
       expires_in: int = Field()
       issued_token_type: str = Field()
   ```


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

Reply via email to