成洛使用ADFS iOS应用 [英] loggin into an iOS app using ADFS

查看:366
本文介绍了成洛使用ADFS iOS应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的 ADAL SDK ([ HTTPS ://github.com/AzureAD/azure-activedirectory-library-for-objc] )与ADFS结合我的iOS应用程序和运行演示code。与上面的链接,并提供

根据作为演示它要求以下的事情: -


  1. 的clientId

  2. 重定向URI

  3. RESOURCEID

  4. 授权路径

要获得所有以上几点我需要注册我的应用程序ADFS按作为本教程(<一个href=\"https://blog.kloud.com.au/2014/12/02/implementing-azure-active-directory-sso-single-sign-on-in-xamarin-ios-apps/\" rel=\"nofollow\">https://blog.kloud.com.au/2014/12/02/implementing-azure-active-directory-sso-single-sign-on-in-xamarin-ios-apps/).
但我不能想出如何将我的应用程序注册到ADFS

我也试图找出此链接(<一个href=\"http://stackoverflow.com/questions/17581677/loggin-into-an-ios-app-using-a-system-with-adfs\">loggin到使用与ADFS 系统iOS应用程序)。

所以以下问题: -


  1. 我说的对页?

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

  3. 如果没有,请大家帮帮忙弄清楚这个

任何帮助非常AP preciated。


解决方案

很多R&放后; D,我能弄清楚如何让所有的点,ADFS


  1. 客户端ID: - 这是一个GUID.You可以在线生成,以及,生成GUID(的http:/ /www.guidgen.com/


  2. 重定向URI: - 它的东西与捆绑标识符(com.compName.MyTestApp)有关,因此增加瓮后,重定向URI是这样看。 前。 @瓮:com.compName.MyTestApp


  3. RESOURCEID: - 它是一样在我的情况重定向URI


  4. 授权路径: - 这是ADFS登录URL路径基本上与ADFS进行身份验证并获得访问令牌。 EX @HTTPS .// myServer.com/adfs;


请注意: - 请更改URL类型按你捆绑在Info.plist文件标识符

有些链接这有助于我: -

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

<一个href=\"http://stackoverflow.com/questions/35412805/sso-from-adal-in-wpf-client-to-adfs-3-0-on-windows-server-2012-r2?rq=1\">SSO从ADAL在WPF客户端ADFS 3.0的Windows Server 2012 R2

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

As per as demo it's asking for following thing :-

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

To get All above Points 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.

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

So the following question:-

  1. Am i on right page?
  2. If Yes, how to register and configure my app with ADFS
  3. if No, please help to figure out this

Any help much appreciated.

解决方案

After lot of R&D, I am able to figure out how to get All the points With ADFS.

  1. Client Id :- it's a GUID.You can generate Online as well as , Generate GUID(http://www.guidgen.com/)

  2. 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".

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

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

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

SSO from ADAL in WPF Client to ADFS 3.0 on Windows Server 2012 R2

这篇关于成洛使用ADFS iOS应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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