How can I verify a LinkedIn access token?

后端 未结 3 1558
遥遥无期
遥遥无期 2020-12-30 08:47

How can I verify a LinkedIn access token?

I need to check if an access token is valid or not?

ex: in Facebook

https://graph.         


        
相关标签:
3条回答
  • 2020-12-30 09:23

    Additionally, you can filter the values:

    https://api.linkedin.com/v1/people/~:(id,first-name,last-name,headline,picture-url,location,industry,current-share,num-connections,summary,specialties,positions)?format=json&oauth2_access_token={0}
    
    0 讨论(0)
  • 2020-12-30 09:31

    I found that it can be done like this:

    https://api.linkedin.com/v1/people/~?oauth2_access_token=YOUR-ACCESS-TOKEN
    

    and that's it :).

    0 讨论(0)
  • 2020-12-30 09:41

    You can use Token Introspection to get some informations about the token

    https://docs.microsoft.com/en-us/linkedin/shared/authentication/token-introspection?context=linkedin/context

    0 讨论(0)
提交回复
热议问题