Azure Active Directory身份验证失败

发布于 2025-02-08 19:35:11 字数 535 浏览 1 评论 0原文

我正在尝试为我在Flutter应用中的动态CRM API进行身份验证。我正在使用aad_auth软件包。但是我无法验证。我在AAD中创建了应用程序,遵循所有必要的步骤。仍然存在身份验证错误。这是我的屏幕截图:

aad应用:

​https://i.sstatic.net/q5ung.png“ alt =”“输入图像描述在此处”>

登录操作和错误:

“在此处输入图像描述”

我如何解决这个问题?

谢谢。

I am trying to authenticate for my dynamic crm api in flutter app. I am using aad_auth package. But I can't authenticate. I created application in aad, followed all necessary steps. Still there is authentication errors. Here are my screenshots:

AAD App:

enter image description here

Flutter Conf:

enter image description here

login action and error:

enter image description here

How can I solve this problem?

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

挽袖吟 2025-02-15 19:35:11

您可以使用 https://pub.dev/packages/firebase/firebase_auth_oauth_oauth_oauth

并使用Microsoft auth提供商登录firebase。

User user = await FirebaseAuthOAuth().openSignInFlow(
  "microsoft.com", ["email openid"], {'tenant': 'your-tenent-id'});

这与Firebase很好地集成在一起,Firebase AuthstateChange也可以使用此方法。

You can use https://pub.dev/packages/firebase_auth_oauth package for it.

And sign in to the firebase using the Microsoft Auth provider.

User user = await FirebaseAuthOAuth().openSignInFlow(
  "microsoft.com", ["email openid"], {'tenant': 'your-tenent-id'});

This integrates nicely with firebase so, firebase authStateChange also works with this method.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文