Closed utexas-wcms closed 1 year ago
@tvdijen I inadvertently posted this issue from our organizational account, so wanted to identify myself as the actual reporter. Any feedback you have is very welcome -- we've got a lot of sites with broken auth right now.
This is a serious problem. Basically 4.6.9 is completely broken
FWIW, our immediate workaround was to require "simplesamlphp/saml2":"4.6.8"
@tvdijen I've created #339 to fix this. It would be great if this could be released ASAP
FWIW, our immediate workaround was to require
"simplesamlphp/saml2":"4.6.8"
Another simple fix is to add this to your composer.json file, if you want to automatically allow the fix when it comes:
"conflict": {
"simplesamlphp/saml2": "4.6.9"
},
I've tagged v4.6.10 now. Sorry for the inconvenience!
Oh wow, this escalated quickly 😲 ! Really sorry folks!
Just to elaborate a bit on how this has happened;
We basically have muted our static analysis tool because at this point it reports to many errors to deal with. So, yay, our tests pass and I tag a new release, not noticing that our quality test went from one-hundred-something issues to one-hundred-something +1.
To make sure this doesn't happen again, I will unmute the static analysis and lower the bar a bit for it to pass, so that fundamental issues like this are caught at an early stage. We set the bar too high and well, it led to this mess.. Again sorry the inconvenience!
Describe the problem
After the update to version
4.6.9
we are getting the following error on all SAML login attempts:Additional information
It appears that a call to
Assert::notNull
was added tosrc/SAML2/HTTPPost.php
in https://github.com/simplesamlphp/saml2/commit/b4daf21db8dba7dd6c3591286794ce5c9ccc7dc1, but there is no correspondinguse
statement foruse Webmozart\Assert\Assert;
at the top of that file.