# SSO SAML And OAuth Support

**URL:** <https://forum.mautic.org/t/sso-saml-and-oauth-support/33460>\
**Category:** Product Support\
**Created:** [September 12, 2024, 4:23pm UTC](https://forum.mautic.org/t/sso-saml-and-oauth-support/33460 "2024-09-12T16:23:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![domjag](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/domjag/32/12597_2.png) [@domjag](https://forum.mautic.org/u/domjag)\
**Post date:** [September 12, 2024, 4:23pm UTC](https://forum.mautic.org/t/sso-saml-and-oauth-support/33460/1 "2024-09-12T16:23:38Z")

</div>

**Your software**  
My Mautic version is: 5.x  
My PHP version is:8.1  
My Database type and version is: MariaDB 10.5.9

**Your problem**  
My problem is: Trying to use SAML to log in

These errors are showing in the log:  
[2024-09-12T15:26:39.649694+00:00] mautic.CRITICAL: Uncaught PHP Exception ArgumentCountError: “LightSaml\SpBundle\Controller\DefaultController::\_\_construct(): Argument #1 ($metadataProfileBuilder) not passed” at /home/my.url.net/public\_html/vendor/lightsaml/sp-bundle/src/LightSaml/SpBundle/Controller/DefaultController.php line 29 {“exception”:“[object] (ArgumentCountError(code: 0): LightSaml\SpBundle\Controller\DefaultController::\_\_construct(): Argument #1 ($metadataProfileBuilder) not passed at /home/campaign.imatr.net/public\_html/vendor/lightsaml/sp-bundle/src/LightSaml/SpBundle/Controller/DefaultController.php:29)”} {“hostname”:“[myweb.url.net](http://myweb.url.net)”,“pid”:1752133}  
Steps I have tried to fix the problem:  
looked through the logs  
Setup authentik sso with SAML 2.0 provider - should I be using SAML Metadata Provider instead? Created the metadata xml file -uploaded to mautic and added the cert and private key.  
I get the following each time:

 ![mautic-saml](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/f/f85f9b3316b4815e60e9437c4f72711b89dd2d45.png)

Anyone able to use SSO SAML successfully?

---

<div class="post-metadata">

**Author:** ![domjag](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/domjag/32/12597_2.png) [@domjag](https://forum.mautic.org/u/domjag)\
**Post date:** [September 17, 2024, 10:26pm UTC](https://forum.mautic.org/t/sso-saml-and-oauth-support/33460/2 "2024-09-17T22:26:50Z")

</div>

Is it possible to hire a mautic dev to fix or configure this to work on our system?
