Skip to content

Support OAuth2 Client credential flow #463

@flyrain

Description

@flyrain

Feature Request / Improvement

It seems PyIceberg only supports OAuth2 token exchange flow. 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. 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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions