简体   繁体   English

Ioinic Azure Active Directory 集成

[英]Ioinic Azure Active Directory Integration

We would like to extend our Angular Web Application to Mobile Application with Ionic framework.我们想将我们的 Angular Web 应用程序扩展到具有 Ionic 框架的移动应用程序。 After checking the offical document: https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-protocols-oidc .检查官方文档后: https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-protocols-oidc It do not have the integration with hybrid application.它没有与混合应用程序的集成。

We had tried to use the SPA login flow but it only work on our web view and keep redirect our application to web page in mobile view.我们曾尝试使用 SPA 登录流程,但它仅适用于我们的 web 视图,并将我们的应用程序重定向到移动视图中的 web 页面。 May I ask is this the only way we can use to do the authenitcaion by the REST API although it is not suggested by Microsoft because of security issue https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth-ropc我想请问这是我们可以用来通过 REST API 进行身份验证的唯一方法,尽管由于安全问题Z5E056C500A1C4B6A7110B50D807BADEZure不建议由 Microsoft 建议。 开发/v2-oauth-ropc

You can use https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow to integrate Azure Active Directory in ionic/cordova angular apps by using below plugins You can use https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow to integrate Azure Active Directory in ionic/cordova angular apps by using below plugins

  1. @azure/msal-angular @azure/msal 角
  2. @azure/msal-browser @azure/msal 浏览器
  3. cordova-plugin-inappbrowser科尔多瓦插件应用浏览器

with CustomNavigationClient使用CustomNavigationClient

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM