-
Notifications
You must be signed in to change notification settings - Fork 210
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] Enable apps to decide what to do when the L2 cache fails (Retry) #1042
Labels
Milestone
Comments
Advice from Henrik:
|
jmprieur
changed the title
[Feature Request] Enable apps to decide what to do when the L2 cache fails
[Feature Request] Enable apps to decide what to do when the L2 cache fails (Retry)
Mar 5, 2021
Re opening until it's released. |
Included in 1.8.0 release |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Today, when the L2 cache fails, an error is logged, but given the L1 cache was able to proceed, we don't re-throw (think of Redis cache connection error)
Describe the solution you'd like
Have a new property in the
MsalDistributedTokenCacheAdapterOptions
, so that the application can handle the failure ?Here is an example of how this would be hooked from the Startup.cs:
Describe alternatives you've considered
We could also decide of the behavior when it fails again on retry (we could be silent instead of throwing)
The text was updated successfully, but these errors were encountered: