Skip to content
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

[Feature Request] When doing a force refresh in and AAD is not down (5xx) we remove the refresh_in from cache #555

Open
4gust opened this issue Feb 19, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@4gust
Copy link
Collaborator

4gust commented Feb 19, 2025

**Is your feature request related to a problem? Please describe. **
Currently, when performing a force refresh operation and AAD (Azure Active Directory) failed but healthy(not returning 5xx errors), the refresh_in value remains in the cache. This can lead to unnecessary cached refresh timing information that is no longer relevant after a force refresh.

Describe the solution you'd like
When a force refresh is unsuccessful and AAD is responding not normally (non 5xx errors):

  1. Execute the force refresh operation
  2. Upon Unsuccessful token refresh, clear the refresh_in value from cache

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@4gust 4gust added the enhancement New feature or request label Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant