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

You need to pass the "client_id" parameter #56

Open
jeffgipson opened this issue Jul 31, 2019 · 5 comments
Open

You need to pass the "client_id" parameter #56

jeffgipson opened this issue Jul 31, 2019 · 5 comments

Comments

@jeffgipson
Copy link

Getting this error: You need to pass the "client_id" parameter when I add the client_id manually to the url and hit return it works fine?
screenshot:http://snap.recruiterswebsites.com/3d7a462fdf68

@bricechapuis
Copy link

I'm having the same issue. Did you figure out what is causing this ?

@jeffgipson
Copy link
Author

jeffgipson commented Aug 20, 2019 via email

@matejLukasik
Copy link

This is caused by the client_id not being put into the linkedin log in URL. Has anyone encountered a problem like that before?

@clammy77
Copy link

Hi there, did anyone figure out a way?

@gordysc
Copy link

gordysc commented Apr 6, 2021

For others that hit this, it's pretty easy to work around by overwriting the authorize_url.

Example for those using Devise:

config.omniauth :linkedin, ENV['LINKEDIN_APP_ID'], ENV['LINKEDIN_APP_SECRET'], {
    scope: 'r_liteprofile,r_emailaddress',
    authorize_url: "https://www.linkedin.com/oauth/v2/authorization?response_type=code&client_id=#{ENV['LINKEDIN_APP_ID']}"
  }

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

5 participants