flyrain commented on issue #463: URL: https://github.com/apache/iceberg-python/issues/463#issuecomment-1960485657
The client credential flow doesn't return a field `issued_token_type`. PyIceberg failed at validation: ``` ValidationError: 1 validation error for TokenResponse issued_token_type Field required [type=missing, input_value={'access_token': 'eyJhbGc... 'token_type': 'bearer'}, input_type=dict] ``` I assume there is not much difference for two flows in terms of request. The only change we may need to do is to make the field optional. ``` issued_token_type: Optional[str] = None ``` -- 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