omniauth-linkedin icon indicating copy to clipboard operation
omniauth-linkedin copied to clipboard

uninitialized constant OmniAuth::Strategies::LinkedIn::MultiJson error when authenticating with LinkedIn

Open nafmarcus opened this issue 9 years ago • 3 comments

When upgrading to the latest version of Rails 4.2.5, we could not authenticated with LinkedIn becuase we started getting the following error: uninitialized constant OmniAuth::Strategies::LinkedIn::MultiJson. The list of gems is attached. We fixed it by forking the repo and making the following change. https://github.com/itcentralstation/omniauth-linkedin/commit/0249f000f5e1e7ffa6ce0ba8629e60f2cfa97126

bundleList.txt

nafmarcus avatar Jan 07 '16 19:01 nafmarcus

I experienced this. omniauth-linkedin does not specify multi_json as a dependency. So if you don't declare multi_json explicitly in your Gemfile or have it pulled in via some other gem, this error will occur.

jmay avatar Apr 28 '16 21:04 jmay

I have the same problem in Rails 5. installing multi_json seperately does not help

Mingus85 avatar Aug 02 '16 11:08 Mingus85

I had the same issue after upgrading to Rails 5.2.2. Only in production, worked fine in dev. Declaring multi_json in the Gemfile before the omniauth and omniauth-linkedin fixed the issue

colinmccann avatar Jun 26 '19 18:06 colinmccann