Closed
Description
Before reporting an issue
- I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.
Area
core
Describe the bug
When a user session is present in the caches, but not the client session, a request succeeds, but the client session is not added to the cache.
Version
main
Regression
- The issue is a regression
Expected behavior
When a user session is used in an operation, both the user session and the client session should be in the cache after the operation.
Actual behavior
When neither the user session nor the client session are in the cache, both are cached after the operation.
If only the user session is in the cache, but not the client session, the client session is not in the cache after the operation.
How to Reproduce?
- Log-in a user
- In debug mode, clear the client cache
- Issue a refresh of a token -> client cache is still empty
Anything else?
I'll provide a PR