Single Sign On authentication in IOS requires LinkedIn App

后端 未结 2 458
闹比i
闹比i 2020-12-21 07:46

We\'ve migrated to the latest LinkedIn IOS SDK which only supports single sign-on (SSO) authentication, in conjunction with the official LinkedIn mobile application. Our app

相关标签:
2条回答
  • 2020-12-21 08:08

    Could you test for the presence of the linked-in app:

    • if it is not there: implement OAuth2 directly through your app
    • if it is there: use it or your OAuth2 implementation (which you'd probably err on the side of using their app for the link-ability between any features of the app you may need in yours).

    Thereby avoiding the REQUIREMENT to have the app installed.

    Researching for this I did find:

    Mobile vs server-side access tokens

    Presently, there is no mechanism available to exchange them. If you require tokens that can be used in both the mobile and server-side environment, you will need to implement a traditional OAuth 2.0 solution within your iOS environment to acquire tokens that can be leveraged in both situations.

    from: https://developer.linkedin.com/docs/ios-sdk-auth

    which suggests that authentication away from the app is supported.

    0 讨论(0)
  • 2020-12-21 08:23

    Pleased to confirm that the solution kindly suggested by Madivad of using the new LinkedIn SDK if the LinkedIn app is installed and when it's not reverting to traditional OAuth 2.0 works fine. Apple are also back on our Christmas card list as they approved this latest version today within 40 minutes of submission:) Thanks Madivad for helping out with this.

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