You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we cache client credentials grant tokens (for basic auth) for a configurable period of time. If the cache time is greater than the expiration time of the token, then auth can fail.
Proposed Solution
Instead, we should cache the tokens based on their expiration. On a per-token basis. So instead of just a cache timeout, we intelligently remove tokens from the cache before they are set to expire.
The text was updated successfully, but these errors were encountered:
Feature or Problem Description
Currently we cache client credentials grant tokens (for basic auth) for a configurable period of time. If the cache time is greater than the expiration time of the token, then auth can fail.
Proposed Solution
Instead, we should cache the tokens based on their expiration. On a per-token basis. So instead of just a cache timeout, we intelligently remove tokens from the cache before they are set to expire.
The text was updated successfully, but these errors were encountered: