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

Mapping configuration parameters

Open sandroden opened this issue 6 years ago • 0 comments

Hi, this is my first attempt to configure SAML, forgive me if I ask silly/simple things but is not that easy to grasp the complete picture and the identity provider doesn't seem to be really helpful.

I followed all the steps in the instructions and configured the XML as local and these views:

/accounts/login/	django_saml2_auth.views.signin
/accounts/logout/	django_saml2_auth.views.signout
/saml2_auth/acs/	django_saml2_auth.views.acs	django_saml2_auth:acs
/saml2_auth/denied/	django_saml2_auth.views.denied	django_saml2_auth:denied
/saml2_auth/welcome/	django_saml2_auth.views.welcome	django_saml2_auth:welcome

The SAML identity provider asks me what URL should be set as Identifier. I have no clue... I asked to skip the "Federation metadata address" as I believe it's nothing we need, correct?

What happens now is that uplon /account/login/ we are redirected on they're site but with an error that in their logs says:

Encountered error during federation passive request.
Additional Data
Protocol Name:
Relying Party:
Exception details:
System.Xml.XmlException: ID4125: An error occurred reading XML data. ---> System.ArgumentNullException: Value cannot be null.

What does that mean. What did I miss?

Thanks in advance sandro

sandroden avatar Sep 06 '19 17:09 sandroden