firebase_id_token icon indicating copy to clipboard operation
firebase_id_token copied to clipboard

redis should not initiated on configuration

Open saiqulhaq opened this issue 4 years ago • 1 comments

my docker couldn't build my app because it doesn't redis locally

it works after I modified configuration file https://github.com/hungryhub-team/firebase_id_token/commit/90872038deee8c42ccaabaf79b2bf58f00718340

saiqulhaq avatar Sep 24 '20 10:09 saiqulhaq

@saiqulhaq Have you tried to:

FirebaseIdToken.configure do |config|
  config.redis = nil
end

in your code some time before the Docker build?

Then later pass it again with a valid Redis connection you may have.

Does this works?

fschuindt avatar Sep 25 '20 12:09 fschuindt

Implemented here.

Versions greater than 2.5.2 will no longer default to Redis.new.

fschuindt avatar May 11 '23 02:05 fschuindt