且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

LinkedIn的iOS认证要求LinkedIn应用程序启动

更新时间:2023-10-16 08:47:16

该页面的日期为2015年11月6日对其他的答案,每个参考之前iOS9和他们的最新的SDK 的。

The other answers on this page that are dated the 6th of November 2015, each refer to processes prior to iOS9 and their latest SDKs.

使用他们的最新版本,它是一个规定,移动应用程序安装工艺的单点登录工作。工作流程之中:

With their latest version, it is a "requirement" that the mobile application be installed for the single sign on process to work. Workflow being:


  • 的用户表示在您的应用程序
  • 登录过程
  • 您的应用程序利用于关联应用的SSO过程

  • 您收到回调继续你离开的地方,一旦登记表已完成。

在尽可能的iPhone应用程序而言,这是必需的方式来使用SSO。然而,在共享应用程序的移动和非移动版本之间的授权令牌略有解决方法。

In as far as the iOS application is concerned, this is the "required" way to utilise SSO. However, there is a slight workaround in sharing the authorisation token between the mobile and non-mobile versions of the app.

我在答案分享这:结果
http://***.com/a/34312931/1804181 和结果
http://***.com/a/34451266/1804181

与第一个答案的OP先后成功实施这一解决方案。

I have shared this in answers to:
http://***.com/a/34312931/1804181 and
http://***.com/a/34451266/1804181
and the OP of the first answer has successfully implemented this solution.

简而言之:

试验的presence的链接在app:


  • 如果它不存在:直接通过您的应用程序实现的OAuth2

  • 如果它的存在:使用它,或者你的OAuth2实现(你可能会使用他们的应用程序为您可能需要在你的应用程序的任何功能之间的联系能力的侧犯错)。

从而避免已安装的应用程序的要求,但它利用如果它是。

Thereby avoiding the REQUIREMENT to have the app installed, but utilising it if it is.