title: Generating Linkedin Access Token
body: <p>I have been trying with the simple REST Client as well as the REST Plugin for Mozilla. I am getting
  "HTTP/1.1 401 Unauthorized" response with
  "{"error":"unauthorized_client","error_description":"the client is not authorized"}" in the body.</p>
  
  <p>I have been successful in getting the auth code, and the below is the POST request for access token, (Scope is r_fullprofile)</p>
  
  <p><a href="https://www.linkedin.com/uas/oauth2/accessToken?grant_type=authorization_code&amp;code=AQTQeBxBzbU2aNWaQM6Ff3Z3bUd8Gyg10W9G2DdqXgWiP0q7-M55c5PLtppP7Ni3Y-6A9C8yDkj9K4VfJ7QkRUFjuV-3AknA5jAahpsFJv3wYfr8XD8&amp;redirect_uri=https://www.google.com&amp;client_id=75wl6j5zndvfkp&amp;client_secret=secret" rel="nofollow">https://www.linkedin.com/uas/oauth2/accessToken?grant_type=authorization_code&amp;code=AQTQeBxBzbU2aNWaQM6Ff3Z3bUd8Gyg10W9G2DdqXgWiP0q7-M55c5PLtppP7Ni3Y-6A9C8yDkj9K4VfJ7QkRUFjuV-3AknA5jAahpsFJv3wYfr8XD8&amp;redirect_uri=https://www.google.com&amp;client_id=75wl6j5zndvfkp&amp;client_secret=secret</a></p>
  
  <p>The redirect_uri=<a href="https://www.google.com" rel="nofollow">https://www.google.com</a> is the one used for getting auth code as well.</p>
  
  <p>Do we need to perform any URL encoding before making the POST request? </p>
  
  <p>When I log into the linked in to my app, it has the below tokens,
  OAuth User Token: c3ae4cee-1b23-xxx-9d2a-206f578dee4d
  OAuth User Secret: 76bc48cc-c94f-xxx-bf9d-a663f7003383</p>
  
  <p>I am not sure where it is used. we are using API &amp; secret key to get auth code.</p>
  
  <p>Thanks in Advance.</p>