I'm trying to request for an access token using the endpoint:
https://www.linkedin.com/oauth/v2/accessToken?grant_type=client_credentials&client_id={clientid}&client_secret={clientsecret}
The response I get is:
{
"error": "access_denied",
"error_description": "This application is not allowed to create application tokens"
}
I have set the permissions to r_basicprofile and rw_company_admin.