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
The authentication token does not get cached therefore each new session requires a new authentication. I'm not sure whether the API Gateway of DHL parcel has a limit of authentications per hour, but I suppose sending a lot of new authentication requests is not a feasible solution.
AuthMiddleware.php uses undefined variables called $accessTokenCache and $refreshTokenCache. I suppose we can just cache both the access and refresh tokens and recreate them when they're expired.
Any reason why these prototypes exist yet the caching implementation is not there? Is there more to it? Is it unstable?
The text was updated successfully, but these errors were encountered:
The authentication token does not get cached therefore each new session requires a new authentication. I'm not sure whether the API Gateway of DHL parcel has a limit of authentications per hour, but I suppose sending a lot of new authentication requests is not a feasible solution.
AuthMiddleware.php uses undefined variables called $accessTokenCache and $refreshTokenCache. I suppose we can just cache both the access and refresh tokens and recreate them when they're expired.
Any reason why these prototypes exist yet the caching implementation is not there? Is there more to it? Is it unstable?
The text was updated successfully, but these errors were encountered: