Skip to content

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

@4gust

Description

@4gust

**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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions