Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Omniauth-linkedin parameter_absent error. #23

Open
shaileshgupta opened this issue Aug 4, 2013 · 3 comments
Open

Omniauth-linkedin parameter_absent error. #23

shaileshgupta opened this issue Aug 4, 2013 · 3 comments

Comments

@shaileshgupta
Copy link

My omniauth configurations look like:

Rails.application.config.middleware.use OmniAuth::Builder do provider :linkedin, ENV["linkedin_key"], ENV["linkedin_secret"] provider :identity, on_failed_registration: lambda { |env| SessionsController.action(:new).call(env) } end

I have rechecked my key / secret value and it matches that given in the app_key section given on LinkedIn. However, today, I suddenly started getting following error:

Started GET "/auth/linkedin/callback?oauth_token=0fd17840-7b0c-4603-aa73-bf2eacf60510&oauth_verifier=29377" for 127.0.0.1 at 2013-08-04 13:55:09 +0530 (linkedin) Callback phase initiated. (linkedin) Authentication failure! invalid_credentials: OAuth::Problem, parameter_absent Processing by SessionsController#oauth_failure as HTML Parameters: {"oauth_token"=>"0fd17840-7b0c-4603-aa73-bf2eacf60510", "oauth_verifier"=>"29377"} Rendered sessions/oauth_failure.html.erb within layouts/application (0.2ms) Rendered layouts/_header.html.erb (0.2ms) Rendered layouts/_footer.html.erb (0.2ms)

Can you please suggest where I may be doing something wrong or if the issue with the gem.

@ronhornbaker
Copy link

I'm seeing a possibly related new problem that just started today. The auth hash returned by omniauth-linkedin has a credentials.token, but no credentials.secret, so I can no longer use the linkedin-oauth gem for further api hits. Perhaps LinkedIn is having issues?
image

@rtcoms
Copy link

rtcoms commented Nov 2, 2014

I am also facing same issue . Any update on this ?

@LaurMo
Copy link

LaurMo commented Jan 17, 2015

We're facing the same issue and I've opened a Stackoverflow post here. @shaileshgupta, @ronhornbaker, @rtcoms did you find a way around the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants