使用MSAL使用MS Azure SAML SSO的Django应用
我有一个使用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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不,不可能在MSAL库中使用SAML身份验证。MSAL不支持SAML。它仅支持OAuth / OpenID Connect。
类似类型的请求也在 Stackoverflow 和 Microsoft Q& a 您也可以检查更多信息,以获取更多信息
SAML由Oasis的Security Services Services Services技术委员会devlopsect (结构化信息标准的提升组织)不是由Microsoft提供的,因此这可能是SAML不包括在MSAL库中的原因。
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.