Using SimpleSAMLphp test page under the "Test authentication sources" tab it works fine viceversa in Moodle I got an error 500