0

我正在使用这个 npm 包 https://github.com/NarHakobyan/ngx-linkedIn在带有 Linkedin 的 Angular 6 应用程序中实现社交登录

单击Linkedin登录页面中的允许弹出窗口后,它会将我重定向到写入以下文本的页面

请在应用程序上输入以下验证者:*****。

我搜索并发现很多人都面临这个问题。你能告诉我怎么解决这个问题吗?

4

1 回答 1

0

您正在使用 V1.0 的linkedin api。他们已将api迁移到 V2.0。使用 V2.0 ( doc ) 你不会得到这个错误。

样品获取请求

https://www.linkedin.com/oauth/v2/authorization?response_type=code&client_id=xxxxxxxx&redirect_uri=https://www.yoursite.com/oauth2/callback&state=fooobar&scope=r_liteprofile%20r_emailaddress%20w_member_social

于 2019-04-03T05:41:11.453 回答