apache / iceberg-rust

Apache Iceberg
https://rust.iceberg.apache.org/
Apache License 2.0
477 stars 97 forks source link

Make OAuth token server configurable #291

Closed flyrain closed 3 months ago

flyrain commented 3 months ago

Java and Python clients support configurable OAuth token server. The Rust client needs that as well.

Here is an pyIceberg configuration example

catalog:
  default:
    uri: http://localhost:8082/
    rest.authorization-url: https://xxx.com/oauth2/token
    credential: client_id:client_secret

cc @RussellSpitzer @liurenjie1024 @himadripal

whynick1 commented 3 months ago

@flyrain if nobody is already looking at this, would love to try and take a stab at this?

flyrain commented 3 months ago

Great! Assigned this to you. Thanks for taking a look.