使用MSAL使用MS Azure SAML SSO的Django应用

发布于 2025-02-10 06:54:54 字数 181 浏览 1 评论 0原文

我有一个使用Django创建的应用程序,该应用程序使用MSAL库使用Azure AD进行身份验证。 据我了解,MSAL使用OAuth,到目前为止,身份验证/授权效果很好。有没有一种方法可以使用SAML代替OAUTH实现身份验证。我遇到了pysaml2库,但没有足够的文档与Azure AD集成。有人可以分享您的想法吗?

I have an application created using Django that uses MSAL library to authenticate with Azure AD.
As I understand, MSAL uses OAuth and so far the authentication/authorization works great. Is there a way to implement authentication using SAML instead of OAuth. I came across pysaml2 library but doesn't have sufficient documentation to integrate with Azure AD. Can someone please share your thoughts.

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

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

发布评论

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

评论(1

他夏了夏天 2025-02-17 06:54:54

是否有一种方法可以使用SAML而不是
oauth。

不,不可能在MSAL库中使用SAML身份验证。MSAL不支持SAML。它仅支持OAuth / OpenID Connect。

类似类型的请求也在 Stackoverflow Microsoft Q& a 您也可以检查更多信息,以获取更多信息

SAML由Oasis的Security Services Services Services技术委员会devlopsect (结构化信息标准的提升组织)不是由Microsoft提供的,因此这可能是SAML不包括在MSAL库中的原因。

Is there a way to implement authentication using SAML instead of
OAuth.

No it's not possible to use SAML authentication in MSAL library.MSAL does not support SAML. It only supports OAuth / OpenID Connect.

Similar kind of request also raised on StackOverflow and Microsoft Q&A as well you can check for more information

SAML is devloped by the Security Services Technical Committee of OASIS (Organization for the Advancement of Structured Information Standards) not by Microsoft so this might be the reason SAML is not included in MSAL Library.

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