fajarmf / ueberauth_linkedin

LinkedIn OAuth2 Strategy for Überauth.
MIT License
10 stars 42 forks source link

Doesn't work with oauth2 0.8 #5

Open ku1ik opened 7 years ago

ku1ik commented 7 years ago

I upgraded to ueberauth_linkedin 0.3.2 and oauth2 to 0.8, but I'm getting this ueberauth_failure in callback:

%Ueberauth.Failure{errors: [%Ueberauth.Failure.Error{message: "missing required parameters, includes an invalid parameter value, parameter more than once. : client_id",

message_key: "invalid_request"}], provider: :linkedin, strategy: Ueberauth.Strategy.LinkedIn} It was working fine with ueberauth_linkedin 0.3.1 and oauth2 0.6. I haven't changed any other configuration.

ku1ik commented 7 years ago

Figured out that the problem is with {:hackney, "1.6.6"}. When I lock it to {:hackney, "1.6.5"} it works again.

fajarmf commented 7 years ago

Hi,

Thank you for figuring this out. I haven't had time to work on this library again. So could you send a PR?