Instagram returns user_id, not id
khier996 opened this issue · 0 comments
khier996 commented
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 saw there was an attempt to fix this - #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.