django-saml2-auth
django-saml2-auth copied to clipboard
Update to README for Azure AD usage
Out of the box, the lib will cause Azure to return an unhelpful "your XML is invalid" error. This pull request has some example settings that should help fix the error.
@lllama Attempting to see if I can set this up using Azure AD, specifically an "Enterprise Application" with SAML Single-Sign On. After implementing the settings you noted here, I still encountered the same XML error. Any thoughts?
Sorry - it's all a bit obscure. I believe I managed to debug this by using pysaml2 - I was able to get this to do the authentication and then I compared the XML it sent with what django-saml2-auth was sending. I then tweaked the settings until they matched (or matched enough that it worked). Sorry I can't offer more help than that.