How to implement Single Sign-On on iOS

假装没事ソ 提交于 2019-12-21 05:21:55

问题


I am a new enterprise iOS developer. We are developing an app that is managing our enterprise apps(somehow like a app store&MDM).

I stacked by a issue :

I want to implement Single Sign-On for our enterprise Apps (Not with the same Developer ID), which means if the app-store App is signed in, the other apps(involved in our enterprise app platform) do not need users to enter ID & PassWord again.

I have searched for the same and I got some information which mentioned sharing keychain and iOS Kerberos SSO. But sharing the keychain is not available for apps developed by different Developers and I cannot find some detailed resource about Kerberos for iOS SSO.

Therefore, what I need is:

  • Is the Kerberos SSO OK for my case?
  • I want some detailed tutorial or articles through which I can learn How to make a SSO server and how to configure my iOS application?

回答1:


Apparently iOS 8 includes a certificate-support that allows the use of certificate-based single sign-on for users to authenticate to enterprise apps.

Accounts Framework

The Accounts framework (Accounts.framework) provides a single sign-on model for certain user accounts. Single sign-on improves the user experience by eliminating the need to prompt the user separately for multiple accounts. It also simplifies the development model for you by managing the account authorization process for your app. You use this framework in conjunction with the Social framework.

So you should take a look in Accounts Framework Reference



来源:https://stackoverflow.com/questions/30343728/how-to-implement-single-sign-on-on-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!