Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/python-3.x/16.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Oauth 2.0 设置nativescript移动应用程序时,Azure Active Directory的重定向URL是什么_Oauth 2.0_Azure Active Directory_Nativescript_Office365api_Nativescript Plugin - Fatal编程技术网

Oauth 2.0 设置nativescript移动应用程序时,Azure Active Directory的重定向URL是什么

Oauth 2.0 设置nativescript移动应用程序时,Azure Active Directory的重定向URL是什么,oauth-2.0,azure-active-directory,nativescript,office365api,nativescript-plugin,Oauth 2.0,Azure Active Directory,Nativescript,Office365api,Nativescript Plugin,我想在我的移动应用程序(nativescript+angular)中使用office 365登录。如何配置Azure Active Directory。什么是重定向URL?请参阅此文档: 对于公共应用程序,提供Azure AD用于返回令牌响应的URI。输入特定于应用程序的值,例如:https://MyFirstApp 确保它与项目中自定义的URL匹配。不确定本机脚本是什么。如果您正在使用ADAL,请按照以下步骤操作: 这取决于您在不同平台上的应用程序 在iOS上,它与应用程序的捆绑包Id一起:

我想在我的移动应用程序(nativescript+angular)中使用office 365登录。如何配置Azure Active Directory。什么是重定向URL?

请参阅此文档:

对于公共应用程序,提供Azure AD用于返回令牌响应的URI。输入特定于应用程序的值,例如:
https://MyFirstApp


确保它与项目中自定义的URL匹配。

不确定本机脚本是什么。如果您正在使用ADAL,请按照以下步骤操作:

这取决于您在不同平台上的应用程序

在iOS上,它与应用程序的捆绑包Id一起: 应用重定向URI:
x-msauth-mytestiosapp://com.myapp.mytestapp

请参阅此处的更多详细信息:

在Android上,它在Google play store中具有应用程序的证书指纹:
msauth://packagename/Base64UrlEncodedSignature(证书指纹

比如说,,
msauth://com.example.userapp/IcB5PxIyvbLkbFVtBI%2FitkW%2Fejk%3D

请参阅此处的更多详细信息:



如果您使用的是ADAL.js,您可以只使用应用程序的URL。

您使用的是nativescript-oauth2吗?如果有任何答案对您有帮助,您可以将其作为答案接受(单击答案旁边的复选标记,将其从灰显切换为填充。)。这可能对其他社区成员有益。谢谢。是的,我正在使用nativescript-oauth2