I got the Access Token (with scope: r_basicprofile r_emailaddress w_share) try with r_fullprofile too.
i\'m based on this docs to authorize: https://developer.linkedin.c
LinkedIn API is private. You need to request authorisation from them: https://business.linkedin.com/marketing-solutions/marketing-partners/become-a-partner/marketing-developer-program
Turns out that with the new v2 of the API you need to use the r_liteprofile
and r_emailaddress
scopes.
https://docs.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin