Sign in with Linkedin doesn't trigger callback on iOS Safari when using the JS API

后端 未结 2 2012
醉酒成梦
醉酒成梦 2021-01-17 23:50

I\'m using SignIn with Linkedin on a website, via the JS API. It works fine on the few desktop browsers I\'ve tested (Chrome and FF on Windows, Safari on MacOS), and on a sl

相关标签:
2条回答
  • 2021-01-18 00:26

    Since the 1st of May 2019 this is no longer working : https://engineering.linkedin.com/blog/2018/12/developer-program-updates

    Sign In with LinkedIn: Sign In with LinkedIn enables members to choose a more convenient way to log-in to third party apps and allows those apps to learn more about their new user. This API will only recognize a new “Lite Profile” permission, which supports a reduced set of member profile fields. See the documentation for more details.

    and

    SDKs: Our JavaScript and Mobile Software Development Kits (SDKs) will stop working. Developers will need to migrate to using OAuth 2.0 directly from their apps.

    0 讨论(0)
  • 2021-01-18 00:35

    Unfortunately, LinkedIn's JS SDK is incompatible with iOS 5+ due to the way that Javascript is paused during cross-window communication processes. You will need to fall back to server-side REST calls to ensure 100% platform compatibility.

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