integrate simplesamlphp as a login system

I have to integrate in my application a login system using simplesam, but no matter how hard I try, I do not get it.

Currently I have configured slim with twig, installed from akrabat user composer. I leave the URL

Some have managed to integrate this authentication system with slim.

Greetings and thank you.

I think SimpleSAMLphp is not “compatible” with PSR-7. The source code of SimpleSAMLphp looks totaly outdated (exit() statements and so on…).

Would you consider another solution (library)?

Thank you

in terms of security level, the client forces me to use this library