trajche / SamlAuth

SAML Authentication Plugin for Kanboard
GNU Lesser General Public License v3.0
10 stars 8 forks source link

Error: SAML must contain one assertion #6

Open smacz42 opened 7 years ago

smacz42 commented 7 years ago

I tested this against SSOCircle's Public IDP and I received the error SAML must contain one assertion.

I captured the POST and am attaching it here, both in XML and base64. I'm posting it in base64 also because I got a weird error from Apache when I tried to get it to work, so it's probably an Apache error. The Apache error was:

[Mon Mar 27 15:49:27.262792 2017] [php7:warn] [pid 25326] [client 75.118.161.192:53168] PHP Warning:  DOMDocument::loadXML(): Start tag expected, '<' not found in Entity, line: 1 in /srv/kanboard/plugins/SamlAuth/Thirdparty/php-saml/lib/Saml2/Utils.php on line 58

So it's interpreting a < as &lt;, which is not how I want it to load that base64-encoded payload. Any thoughts?

saml-response.zip

thomasDOTwtf commented 5 years ago

not seeing any problems decoded using the online decoder: https://www.samltool.com/decode.php

Which attribute names are configured in your kanboard settings?

smacz42 commented 5 years ago

Unfortunately, I'm no longer maintaining a version of Kanboard that uses SAML, so I can't check it out easily. I'm going to close this as it's no longer relevant to me. Apologies to all future internet searchers who stumble across this.