简体   繁体   English

Flutter 移动应用程序登录通过 azure 来自 web 应用程序的活动目录已实现 Z3A580F142203677F15ZF0BC088633

[英]Flutter mobile app login via azure Active directory from web app that already implemented Azure Ad

I have a web app that already configured with Azure Ad, once user login the web app via azure ad, they web app will redirect it to identity server and then successfully logged in to the website. I have a web app that already configured with Azure Ad, once user login the web app via azure ad, they web app will redirect it to identity server and then successfully logged in to the website. However, currently we have to implement the azure ad login in our flutter app also.但是,目前我们还必须在我们的 flutter 应用程序中实现 azure 广告登录。 For calling the web app API, we have to get access token generated from the web app identity server.为了调用 web 应用程序 API,我们必须获取从 web 应用程序身份服务器生成的访问令牌。 So the problem is that is there a solution to directly allow my mobile app to login through the azure ad page configured for my web app and get access token directly in my flutter app?所以问题是有没有一种解决方案可以直接允许我的移动应用程序通过为我的 web 应用程序配置的 azure 广告页面登录并直接在我的 flutter 应用程序中获取访问令牌? Or is there other suggestions?还是有其他建议?

Retrieving access token directly from the web api through AAD identity authentication and passing it to the flutter app for authentication purposes isn't possible.通过 AAD 身份验证直接从 web api 检索访问令牌并将其传递给 flutter 应用程序进行身份验证是不可能的。 Though, you can add/show a redirect URL or callback url link to the flutter app in your web app display api which is registered in azure app registration portal such that when a user tries to log in to flutter app, it will be redirected to the flutter app site and in the flutter app backend, you can configure it to federate with AAD for authentication and authorization purpose. Though, you can add/show a redirect URL or callback url link to the flutter app in your web app display api which is registered in azure app registration portal such that when a user tries to log in to flutter app, it will be redirected to flutter 应用程序站点和 flutter 应用程序后端,您可以将其配置为与 AAD 联合以进行身份验证和授权。

References:参考:

  1. flutter_aad_oauth flutter_aad_oauth
  2. How to integrate Azure AD SSO in flutter app 如何在 flutter 应用程序中集成 Azure AD SSO

You can also raise a support request if needed via overview page in portal> support + troubleshooting >new support request如果需要,您还可以通过门户中的概览页面提出支持请求> 支持 + 故障排除 > 新的支持请求

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

相关问题 使用Azure Active Directory和Azure移动服务验证PHP Web应用程序 - Authenticating a PHP Web App with Azure Active Directory and Azure Mobile Services Azure Active Directory登录:Web应用程序权限,未触发用户同意 - Azure Active Directory Login: Web App Permissions, User Consent not triggered Azure 带有生物特征和移动应用证书的活动目录 - Azure Active Directory with Biometrics and certificates for mobile app 从Azure Active Directory获取MVC Web应用程序中的samAccountName名称 - Getting samAccountName name in MVC Web App from Azure Active Directory 直接来自移动应用的Azure AD授权 - Azure AD authorization directly from mobile app 将Meteor与Azure Web App一起使用Azure Active Directory - Using Azure Active Directory on Azure Web App with Meteor 无法进行身份验证 - 带有 Azure Active Directory (OpenIdConnect) 的 Azure Web 应用 - Unable Authenticate - Azure web app with Azure Active Directory (OpenIdConnect) Azure AD B2C - Angularjs 示例(Web 和移动)应用 - Azure AD B2C - Angularjs sample (Web and Mobile) app 使用两个azure AD应用程序注册移动和Web - Using two azure AD app registrations for mobile and web 如何使用 Azure AD 向 web 服务验证移动应用程序? - How to authenticate mobile app to web service using Azure AD?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM