Causes omni auth to fail. Linkedin reply with this:
Started GET "/auth/linkedin?logon=linkedin" for 127.0.0.1 at 2017-05-24 18:28:51 +0200
(linkedin) Callback phase initiated.
(linkedin) Authentication failure! invalid_credentials: OAuth2::Error, invalid_request: missing required parameters, includes an invalid parameter value, parameter more than once. : Unable to retrieve access token : appId or redirect uri does not match authorization code or authorization code expired
{"error_description":"missing required parameters, includes an invalid parameter value, parameter more than once. : Unable to retrieve access token : appId or redirect uri does not match authorization code or authorization code expired","error":"invalid_request"}
FYI:
Causes omni auth to fail. Linkedin reply with this:
Started GET "/auth/linkedin?logon=linkedin" for 127.0.0.1 at 2017-05-24 18:28:51 +0200 (linkedin) Callback phase initiated. (linkedin) Authentication failure! invalid_credentials: OAuth2::Error, invalid_request: missing required parameters, includes an invalid parameter value, parameter more than once. : Unable to retrieve access token : appId or redirect uri does not match authorization code or authorization code expired {"error_description":"missing required parameters, includes an invalid parameter value, parameter more than once. : Unable to retrieve access token : appId or redirect uri does not match authorization code or authorization code expired","error":"invalid_request"}
Using gem 'omniauth-oauth2', '~>1.3.1' works...