Quantcast
Channel: Spring Community Forums - Social
Viewing all articles
Browse latest Browse all 145

Problem with LinkedIn on 1.1.0.M3 / 1.0.0.RC2

$
0
0
Hi,

I just upgraded stuff to 1.1.0.M3 and LinkedIn 1.0.0.RC2. I'm seeing this exception when I try to connect. Not entirely sure if this is due to my code based on previous version creating problems or something related to the new code.
PHP Code:

[MSADEBUG [2013-07-09 15:34:43,261RestTemplate.createRequest(78) | Created POST request for "https://www.linkedin.com/uas/oauth2/accessToken"
[MSADEBUG [2013-07-09 15:34:43,263RestTemplate.doWithRequest(528) | Setting request Accept header to [application/json]
[
MSADEBUG [2013-07-09 15:34:43,263RestTemplate.doWithRequest(592) | Writing [{client_id=[xyz], client_secret=[abc], code=[12345], redirect_uri=[http://www.project.nl:100/mercadosa/connect/linkedin/], grant_type=[authorization_code]}] using [org.springframework.http.converter.FormHttpMessageConverter@5441c1f5]
[MSAWARN [2013-07-09 15:34:43,486ResponseProcessCookies.processCookies(127) | Cookie rejected"[version: 1][name: lang][value: v=2&lang=en-us][domain: linkedin.com][path: /][expiry: null]"Domain attribute "linkedin.com" violates RFC 2109domain must start with a dot
[MSAWARN [2013-07-09 15:34:43,487RestTemplate.handleResponseError(486) | POST request for "https://www.linkedin.com/uas/oauth2/accessToken" resulted in 400 (Bad Request); invoking error handler
[MSAWARN [2013-07-09 15:34:43,487ConnectSupport.completeConnection(155) | HttpClientErrorException while completing connection400 Bad Request
[MSAWARN [2013-07-09 15:34:43,487ConnectSupport.completeConnection(156) |       Response body: {"error":"invalid_request","error_description":"missing required parameters, includes an invalid parameter value, parameter more then once. : Unable to retrieve access token : appId or redirect uri does not match authorization code or authorization code expired"}
[
MSAWARN [2013-07-09 15:34:43,488ConnectController.oauth2Callback(242) | Exception while handling OAuth2 callback (400 Bad Request). Redirecting to linkedin connection status page


Viewing all articles
Browse latest Browse all 145

Trending Articles