When cache_enabled is used, the integration will cache the access token on Redis. It sets the key with a TTL of 2 days, but the key appears without TTL after being reused (TTL = -1).
Steps to Reproduce
Run the integration a couple of times and then check the TTL by connecting to redis and running the command ttl auth.
Expected Behavior
The auth key should have a TTL and expire after 2 days since the last time it was set.
Description
When
cache_enabled
is used, the integration will cache the access token on Redis. It sets the key with a TTL of 2 days, but the key appears without TTL after being reused (TTL = -1).Steps to Reproduce
Run the integration a couple of times and then check the TTL by connecting to redis and running the command
ttl auth
.Expected Behavior
The
auth
key should have a TTL and expire after 2 days since the last time it was set.