michaelhelmick/linkedin — pull request #3 by CircleUp (2012-12-20 23:05:34+00:00)
Title: Better handling of oauth_callback parameter to requestToken endpoint

Hi Michael,

I ran into an issue in using this library when passing an oauth_callback URL that itself contains parameters. The requestToken endpoint was being hit with a GET and the callback URL was simply appended; but when the callback URL itself contains parameters, this doesn't work properly. One could percent-encode the callback URL but since the LinkedIn Authentication docs suggest POST is the preferred method, I just do that instead. This fixed the issue for me.