Default cache not returning saved data from FirebasePhpJwt adapter

In drupal 9, am using this library GitHub - okta/okta-jwt-verifier-php: A helper library for working with JWT's for Okta to validate JWT(Id_Token) by JWKS. Issue is validation working fine. but inbuilt cache not working.
code: $this->cache = $cache ?: new \Illuminate\Cache\Repository(new ArrayStore(true));
Every time this library calling JWKS_url to get the keys instead of getting from cache.
Please share your thoughts…(cache-part not working)