Skip to content

[extension/oauth2clientauth] Add Token expiry buffer for oauth2clientauthextension #37334

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 8, 2025

Conversation

LZiHaN
Copy link
Member

@LZiHaN LZiHaN commented Jan 20, 2025

Description

Adds an expiry_buffer config to the oauth2client extension, allowing token refresh before expiration. The default buffer is set to 5 m, preventing authentication failures due to token expiration.

Link to tracking issue

Fixes #35148

Testing

passes tests.

Documentation

The README has been updated to include the expiry_buffer config option, with instructions on how to use it and its default value.

Copy link
Contributor

github-actions bot commented Feb 4, 2025

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Feb 4, 2025
@LZiHaN
Copy link
Member Author

LZiHaN commented Feb 5, 2025

hi, I noticed that this PR has been marked as stale. Is there anyone available to review it? Please let me know if I can provide any additional information or make any improvements to help move it forward. Thanks!

@github-actions github-actions bot removed the Stale label Feb 5, 2025
@jpkrohling jpkrohling merged commit 61d70f8 into open-telemetry:main Feb 8, 2025
164 checks passed
@github-actions github-actions bot added this to the next release milestone Feb 8, 2025
@jpkrohling
Copy link
Member

Thank you!

@LZiHaN LZiHaN deleted the oauth2-expiry-buffer branch February 9, 2025 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Token expiry buffer for oauth2clientauthextension
3 participants