lib/clerk/jwks_cache.rb in clerk-sdk-ruby-4.0.0.beta4 vs lib/clerk/jwks_cache.rb in clerk-sdk-ruby-4.0.0.beta5

- old
+ new

@@ -20,10 +20,10 @@ if should_refresh @lock.with_write_lock do @last_update = Time.now.to_i @jwks = begin - sdk.jwks.get.keys.map(&:to_hash) + sdk.jwks.get_jwks.keys.map(&:to_hash) rescue Clerk::Error, ClerkHttpClient::ApiError nil end end end