成洛使用ADFS iOS应用 [英] loggin into an iOS app using ADFS
问题描述
我使用的 ADAL SDK ([ HTTPS ://github.com/AzureAD/azure-activedirectory-library-for-objc] )与ADFS结合我的iOS应用程序和运行演示code。与上面的链接,并提供
根据作为演示它要求以下的事情: -
- 的clientId
- 重定向URI
- RESOURCEID
- 授权路径
要获得所有以上几点我需要注册我的应用程序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应用程序)。
所以以下问题: -
- 我说的对页?
- 如果是,如何注册和使用ADFS配置我的应用程序
- 如果没有,请大家帮帮忙弄清楚这个
任何帮助非常AP preciated。
很多R&放后; D,我能弄清楚如何让所有的点,ADFS
。-
客户端ID: - 这是一个GUID.You可以在线生成,以及,生成GUID(的http:/ /www.guidgen.com/ )
-
重定向URI: - 它的东西与捆绑标识符(com.compName.MyTestApp)有关,因此增加瓮后,重定向URI是这样看。 前。 @瓮:com.compName.MyTestApp。
-
RESOURCEID: - 它是一样在我的情况重定向URI
-
授权路径: - 这是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 :-
- clientId
- Redirect URI
- ResourceId
- 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:-
- Am i on right page?
- If Yes, how to register and configure my app with ADFS
- 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.
Client Id :- it's a GUID.You can generate Online as well as , Generate GUID(http://www.guidgen.com/)
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 :- it's same as redirect uri in my case.
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屋!