I have been trying to use the linkedin V2 api, but constantly getting error. I created an developer application. Set up redirect url as "https://www.getpostman.com/oauth2/callback" to make request using postman (as per postman documentation). Filled up form to request access token.
But everytime I use the token and make a query, I get an error:
But I have selected all the default application permissions in my application. Am I missing something?
If you are using https://oauth.io/ you have to add scopes in the Keys and Permission Scope configuration page:
This is a old question, but the solution is to use the scope r_liteProfile instead of r_basicprofile during the first step of authorization.
Then, use the value of the code parameter passed back from LinkedIn to http://yourauthorizationserver in the second step of authorization:
Solution found here: Any queries to the api.linkedin.com/v2/ return "Not enough permissions to access ..."
The LinkedIn API has been largely closed off and is only available to approved LinkedIn developers. You can request authorisation here: https://business.linkedin.com/marketing-solutions/marketing-partners/become-a-partner/marketing-developer-program
have you checked and allowed access to "r_basicprofile" permissions? go to your app and check your Default Application Permissions for people/~/me endpoint.