LinkedIn的iOS认证要求LinkedIn应用程序启动 [英] Linkedin iOS Authentication requires launching of the Linkedin app

查看:168
本文介绍了LinkedIn的iOS认证要求LinkedIn应用程序启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有整合LinkedIn SDK与我的iOS应用程序的一个问题。看来这个验证过程需要我下载LinkedIn应用与LinkedIn连接。有没有使用SDK,而无需下载LinkedIn应用程序的方法吗?苹果拒绝对这一原因的应用程序。我会非常AP preciate任何提示来解决此问题。在此先感谢

I have a problem integrating LinkedIn sdk with my iOS app. It seems that the authentication process requires that I download the LinkedIn app to connect with LinkedIn. Is there a way to use the sdk without having to download the LinkedIn app? Apple rejects the app for that reason. I'd greatly appreciate any hints to work around this issue. Thanks in advance

推荐答案

该页面的日期为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://stackoverflow.com/a/34312931/1804181 和结果
<一href=\"http://stackoverflow.com/a/34451266/1804181\">http://stackoverflow.com/a/34451266/1804181

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

I have shared this in answers to:
http://stackoverflow.com/a/34312931/1804181 and
http://stackoverflow.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.

这篇关于LinkedIn的iOS认证要求LinkedIn应用程序启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆