Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Cannot integrate 1.15.0 with projects using Twig 2 #753
With SimpleSAMLphp 1.15.0, I cannot get the "Integrating authentication with your own application" steps working with my application that uses Twig 2.
I am using the Composer autoloader in my application and I've narrowed it down to the
require '/var/simplesamlphp/lib/_autoload.php'; $as = new \SimpleSAML\Auth\Simple('default-sp'); // also tried the old way: new \SimpleSAML_Auth_Simple('default-sp');
This is the error I get:
On the QA environment, I have tested SimpleSAMLphp 1.15.0 with the TestShib site and the admin interface works correctly, but our application crashes on all pages that require authentication with Shibboleth.
We have rolled back our production environment to SimpleSAMLphp 1.14 in the meantime as it works fine with our application. We really want to upgrade as the new version no longer relies on the mcrypt extension.
In times of increasing number of packages supporting Twig 2 only it would be really nice if simpleSAMLphp would support it too.
For other people searching for a (temporary) solution: LightSAML - but does not support logout by default.
P. S. Not a good idea to switch back to 1.14 => see security issues!
It looks like 1.17 is on track according to https://simplesamlphp.org/releaseplan (the three "not started" items look like they have completed pull requests). If 1.17 is to be released soon then I don't mind trying to upgrade directly from 1.14.