Mautic 5 [beta 1] - SAML not working

Hi everyone.
Today I did a clean install of Mautic v5[beta1], and unfortunately, login with the SAML provider doesn’t work.

In log file, message is:

mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\ClassNotFoundError: “Attempted to load class “Controller” from namespace “Symfony\Bundle\FrameworkBundle\Controller”. Did you forget a “use” statement for another namespace?” at /var/www/html/vendor/lightsaml/sp-bundle/src/LightSaml/SpBundle/Controller/DefaultController.php line 17 {“exception”:“[object] (Symfony\Component\ErrorHandler\Error\ClassNotFoundError(code: 0): Attempted to load class "Controller" from namespace "Symfony\Bundle\FrameworkBundle\Controller".\nDid you forget a "use" statement for another namespace? at /var/www/html/vendor/lightsaml/sp-bundle/src/LightSaml/SpBundle/Controller/DefaultController.php:17)”}

Some steps to fix it?

Thanks!

Thanks for reporting it! I’ve passed it on to the Mautic 5 team!

1 Like

Would you mind creating an issue at Issues · mautic/mautic · GitHub please?

Many thanks!

Okay, created on Github , thanks

Hi folks,

This is resolved via Add support Symfony 5 for controller by pasxel · Pull Request #1 · mautic/SpBundle · GitHub and should be released in the General Availability release.

If you want to test it you can use Gitpod on the default branch, check https://mau.tc/tester for more info!

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.