5 Answers

you need to add Sign In with LinkedIn permission in product tabs from the app settings page go to the product tab and add Share on linkedin and Signin with linkedin to get the following permissions r_emailaddress, r_liteprofile, w_member_social

Hello I had a similar problem and I fixed it by doing this ;

You have to ensure that everything in your APP page ( https://www.linkedin.com/developer/apps ) matches the parameters in your authorization URL . SO for example in your case , https://www.linkedin.com/oauth/v2/authorization?response_type=code&client_id=test&redirect_uri=http://test.custom.com/abc/linkedin&state=DCEeFWf45A53sdfKef424asgTyhgTR5 ;

You would have to ensure that your client_id in the auth URL matches the Client-Id on your APP page and also ensure that the redirect_uri you specified in your auth URL has been authorized on your app page as shown below . If you are passing in scopes as well, also ensure that they match perfectly . As you can see in the image below , my redirect_uri has been authorized from my app page . enter image description here

The best is to inspect how is the link generated by linkedin developer tool for you and then you just have to change the redirect url

https://www.linkedin.com/developers/tools/oauth

then "create token" then select all permission and click on "Request access token" if you have the development window open you can see a query authorisation is done, then you can just copy this url and change the redirect_url.

enter image description here]1

so for me https://www.linkedin.com/oauth/v2/authorization?response_type=code&client_id=myclientid&redirect_uri=myredirectid&scope=r_emailaddress%2Cr_liteprofile%2Cw_member_social&state=e6c0e1c8-1a35-478f-8eea-b0412a6675c9

Related