Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@creechy
Copy link
Collaborator

@creechy creechy commented Sep 3, 2025

PR Checklist

  • A description of the changes is added to the description of this PR.
  • If there is a related issue, make sure it is linked to this PR.
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added or modified a feature, documentation in docs is updated

Description of changes

This change adds the ability to configure the UC Spark Connector to do an OAuth2 "client credentials" exchange to authenticate.

Since access tokens minted through a client credentials exchange generally have a limited lifetime, there is functionality here to refresh the token before the current access token expires.

This enhancment introduces two new Spark properties

  • oauth2-server-uri - this is the URI to the token exchange endpoint
  • credential - the principal's credential to use to exchange for an access token (in the form of client_id:client_secret)

This PR covers Issue #1071

@creechy creechy self-assigned this Sep 3, 2025
@creechy creechy changed the title Added ability to do "client credentials" OAuth2 flow. [Backport] Add ability to do "client credentials" OAuth2 flow to Spark Connector Sep 3, 2025
@creechy creechy requested review from dennyglee and tdas September 3, 2025 17:37
@creechy creechy marked this pull request as ready for review September 3, 2025 17:38
vikrantpuppala and others added 2 commits September 3, 2025 10:50
---------

Signed-off-by: Vikrant Puppala <[email protected]>
Signed-off-by: Joseph Mocker <[email protected]>
Signed-off-by: Joseph Mocker <[email protected]>

Signed-off-by: Joseph Mocker <[email protected]>
@creechy creechy force-pushed the spark-connector-oauth2-branch-0.2 branch from efc75df to 2a01792 Compare September 3, 2025 17:51
@creechy creechy requested a review from roeap September 4, 2025 15:51
creechy and others added 5 commits September 4, 2025 16:37
---------

Signed-off-by: Vikrant Puppala <[email protected]>
Signed-off-by: Joseph Mocker <[email protected]>
Signed-off-by: Joseph Mocker <[email protected]>

Signed-off-by: Joseph Mocker <[email protected]>
Signed-off-by: Joseph Mocker <[email protected]>
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.

2 participants