Skip to content

Fix config.oauth_token() to properly rely on token caching.#1020

Merged
renaudhartert-db merged 8 commits into
mainfrom
renaud-hartert_data/fix-token
Jul 31, 2025
Merged

Fix config.oauth_token() to properly rely on token caching.#1020
renaudhartert-db merged 8 commits into
mainfrom
renaud-hartert_data/fix-token

Conversation

@renaudhartert-db

Copy link
Copy Markdown
Contributor

What changes are proposed in this pull request?

This PR fixes config.oauth_token() to actually use the caching mechanism in the credentials provider (e.g. async refresh). It also improve the error message in case the credentials provider is not an OAuth credentials provider.

How is this tested?

Unit + Integration tests.

@renaudhartert-db renaudhartert-db changed the title Fix Fix config.oauth_token() to properly rely on token caching. Jul 31, 2025
@github-actions

Copy link
Copy Markdown

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/sdk-py

Inputs:

  • PR number: 1020
  • Commit SHA: 23143b6989e8ec07712bb7add214724fb59cbaa7

Checks will be approved automatically on success.

@renaudhartert-db renaudhartert-db added this pull request to the merge queue Jul 31, 2025
Merged via the queue into main with commit d2f29fe Jul 31, 2025
17 checks passed
@renaudhartert-db renaudhartert-db deleted the renaud-hartert_data/fix-token branch July 31, 2025 15:47
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