I am trying to authenticate user using linkedin in a flutter application, for that i'm using linkedin_login package from PUB. By using this package i'm calling this constructor LinkedInUserWidget() and passing all necessary arguments and it returns me a access token and now i want to fetch r_basicprofile data of user using the return access token by hitting either this api https://api.linkedin.com/v2/userInfo or https://api.linkedin.com/v2/me
but everytime when i'm hitting these api then getting response status 403 Failed to fetch profile data: {"status":403,"serviceErrorCode":100,"code":"ACCESS_DENIED","message":"Not enough permissions to access: me.GET.NO_VERSION"}
anyone can explain how can i fetch r_basicprofile user data ? I've created developer account on linkedin and have access for both r_liteprofile as well as r_basicprofile.
thanks.