将ADFS(3.0)与iPad应用程序集成以实现SSO实施 [英] ADFS (3.0) integration with iPad app to achieve SSO implementation

查看:309
本文介绍了将ADFS(3.0)与iPad应用程序集成以实现SSO实施的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 ADAL SDK (( https: //github.com/AzureAD/azure-activedirectory-library-for-objc ),以便将我的iOS应用与ADFS集成以实现SSO。我运行带有上面链接的演示代码。

I am using ADAL SDK(https://github.com/AzureAD/azure-activedirectory-library-for-objc) for integration my iOS app with ADFS for SSO implementation. I run demo code provide with above link.

根据演示,它要求SOS实现的以下组件:-

As per as demo it's asking for following components to SOS implementation :-


  1. clientId

  2. 重定向URI

  3. ResourceId

  4. 授权路径

  1. clientId
  2. Redirect URI
  3. ResourceId
  4. Authority Path

根据ADAL SDK,我需要按照本教程将我的应用注册到ADFS( https:// blog.kloud.com.au/2014/12/02/implementing-azure-active-directory-sso-single-sign-on-in-xamarin-ios-apps/ )。
但是我无法弄清楚如何将我的应用注册到ADFS中。

According to ADAL SDK ,I need to register my app to ADFS as per as this tutorial (https://blog.kloud.com.au/2014/12/02/implementing-azure-active-directory-sso-single-sign-on-in-xamarin-ios-apps/). But i am not able to figured out how will register my app to ADFS.

我也试图弄清楚这一点。链接(使用具有ADFS的系统登录到iOS应用)。

I also tried to figure out with this link (loggin into an iOS app using a system with ADFS).

那么下面的问题:-


  1. 我在正确的页面上吗?

  2. 如果是,如何使用ADFS注册和配置我的应用

  3. 如果否,请帮助弄清楚这个问题

任何帮助都非常感谢。

Any help much appreciated.

推荐答案

在研发之后,我能够弄清楚如何使用ADFS获得所有积分。

After R&D, I am able to figure out how to get all points With ADFS.


  1. 客户端ID:-这是一个GUID。您可以生成Online,也可以生成GUID( http://www.guidgen.com/

重定向URI:-有点与Bundle Identifier(com.compName.MyTestApp)相关,因此添加urn后,重定向URI看起来像这样。 例如@ urn:com.compName.MyTestApp

Redirect URI :- it's something related with Bundle Identifier(com.compName.MyTestApp), So after adding urn, Redirect URI is looking like this. Ex. @"urn:com.compName.MyTestApp".

ResourceId:-在我的情况下,它与重定向uri相同。

ResourceId :- it's same as redirect uri in my case.

授权路径:-基本上是ADFS登录路径URL,用于通过ADFS进行身份验证并获取Access令牌。 EX @ https .// myServer.com/adfs;

Authority Path :- it's ADFS login path url basically to authenticate with ADFS and get Access token. EX @"https.//myServer.com/adfs";

注意: -请根据您在Info.plist文件中的捆绑标识符更改URL类型。

Note :- Please change URL Types as per as you bundle identifier in Info.plist file.

一些对我有所帮助的链接:-

Some Link which helped me :-

https://msdn.microsoft.com/en-us/ library / dn531010.aspx

从WPF客户端中的ADAL到Windows Server 2012 R2上的ADFS 3.0的SSO

希望它会有所帮助。

这篇关于将ADFS(3.0)与iPad应用程序集成以实现SSO实施的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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