django-saml2-auth icon indicating copy to clipboard operation
django-saml2-auth copied to clipboard

Update to README for Azure AD usage

Open lllama opened this issue 5 years ago • 2 comments

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 avatar Aug 28 '19 15:08 lllama

@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?

AaronForce1 avatar Jul 20 '20 05:07 AaronForce1

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.

lllama avatar Jul 20 '20 11:07 lllama