Skip to content

Conversation

@sungwy
Copy link
Collaborator

@sungwy sungwy commented Dec 21, 2023

Closes: #230

This PR introduces support for Separation of Roles in OAuth authorization when using the REST Catalog, by allowing the user to use a distinct Authorization Server to fetch the access token and use it against the REST Catalog. In this scenario, the responsibility of the REST Catalog lies in validating the access token, instead of taking their secrets and deducing their identity and authorization.

This will allow PyIceberg to re-authorize the client using the stored credentials against the appropriate auth server if AuthorizationExpiredError is detected (Refreshing access_token is out of scope of this PR)

@Fokko Fokko added this to the PyIceberg 0.6.0 release milestone Dec 21, 2023
Copy link
Contributor

@Fokko Fokko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's move this forward, thanks @syun64 for working on this! 👍

@Fokko Fokko merged commit 9797360 into apache:main Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rest Catalog Support for a Separate OAuth Server URI

2 participants