Linkedin accessstoken oauth call错误

时间:2015-12-10 09:44:47

标签: linkedin

我正在尝试从授权代码获取linkedin accesstoken。我来自https://www.linkedin.com/uas/oauth2/authorization。但是当我将来自accessstoken的resquest发送到url

https://www.linkedin.com/uas/oauth2/accessToken?code=AQTxKjDnKVK8bhxJf10fHE8kEfGh9APlnGTRXyrNMLx-RkZ_EEKfvpx1YRMlhsr5R_qdNlxZ1DUqZR0xCkZe_4hIl_Ih8d1x3_sdf0xqjMu6lp2Ny48&client_id=75g9zob6m8cpzi&client_secret=gsEVhrKzrByUwPOy&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Fcallback%3Fsite%3Dlinkedin&grant_type=authorization_code 当我从角度js发出http get请求时,我收到错误。当我通过邮递员浏览器提出请求时,我可以获取访问令牌 我的控制台错误是

 Parent: Id  Type
  Row-1  1     a
  Row-2  2     a
  Row-3  3     b

 Child:  Id  Type  Col
  Row-1  1     a   ....
  Row-2  1     b   ....
  Row-3  2     a   ....

0 个答案:

没有答案