I get this error undefined method [] for nil:NilClass when redirecting from instagram.
The error comes from omniauth-instagram (1.3.0) lib/omniauth/strategies/instagram.rb:22
I traced the error and figured out instagram does not return user field. It returns user_id, so instagram.rb:50 returns nil.
I get this error
undefined method [] for nil:NilClass
when redirecting from instagram. The error comes fromomniauth-instagram (1.3.0) lib/omniauth/strategies/instagram.rb:22
I traced the error and figured out instagram does not return
user
field. It returnsuser_id
, soinstagram.rb:50
returns nil.I saw there was an attempt to fix this - https://github.com/omniauth/omniauth-instagram/pull/42, but for some reason that PR was closed.
Is this going to be fixed soon? The gem does not seem to be usable now.