Open Cecche00 opened 1 year ago
please tell me the purpose of this PR. Can you gimme a document link about this?
if you go into your app products in linkedin.com/developers and click on 'view endpoints' in 'Sign In with LinkedIn using OpenID Connect' you find the right api to get the user info that is '/v2/userinfo'. api '/v2/me' is into 'Lead Sync API' but is not for do the linkedin authentication.
you can see more here: https://learn.microsoft.com/en-us/linkedin/shared/authentication/authorization-code-flow?context=linkedin%2Fconsumer%2Fcontext&tabs=HTTPS1
/v2/me is still used as a legal method.
yes, but if you don't have access to 'Lead sync api' you cannot get '/v2/me'. this link explain how to retrieve members details: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2#authenticating-members
can you merge please?
In Linkedin 'Sign In with LinkedIn using OpenID Connect' there is '/v2/userinfo' that replace the old '/v2/me'