Project

General

Profile

Actions

Bug #2972

closed

LinkedIn HTTP requests fail

Added by krileon over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
10 November 2011
Due date:
% Done:

100%

Estimated time:

Description

When a new user registeres a HTTP request is needed to grab their profile data. This fails with "Unknown authentication scheme error" due to the HTTP request URL structure being changed and validated differently on LinkedIns end.

Actions #1

Updated by krileon over 12 years ago

LinkedIn cookie is completely empty which is why the oauth token can't be retrieved.

Actions #2

Updated by krileon over 12 years ago

  • Assignee set to krileon
Actions #3

Updated by krileon over 12 years ago

Cookie isn't empty, but it won't json_decode for some reason. Need to investigate why it won't decode.

Actions #4

Updated by krileon over 12 years ago

When retrieving cookie it needs _CB_ALLOWRAW. The cookie it self should be raw. When obtaining parameters from the cookie we clean it then. This resolved the cookie failing to decode.

Actions #5

Updated by krileon over 12 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Issue was simply with how the cookie was being processed. New getCookie function resolves all the above problems and allows properly signed HTTP requests.

Actions #6

Updated by krileon over 12 years ago

  • Target version set to 2.0.0
Actions #7

Updated by krileon over 12 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF