Your software
My Mautic version is: 4.4.9
My PHP version is: 8.0.29
My Database type and version is: 10.6.12-MariaDB-0ubuntu0.22.04.1
My Setup: Ubuntu 22.04 - LAMP
Your problem
My problem is: Configured SAML for Azure AD setup. Even the test from Azure AD is successful in issuing a token. After redirect to https://mymauticsite/s/saml/login_check I get a 302 found however it redirects after that to https://mymauticsite/s/login with error message saying - Invalid login. Please verify credentials.
These errors are showing in the log: Nada, absolutely nothing. I am checking errors here: /var/www/mymauticfolder/var/logs. Is there any way to increase the debug level on the SSO logs? If yes which file to edit from where?
Steps I have tried to fix the problem:
I have checked my Attributes mapping and in depth gone through the metadata xml file.
All the attributes go through to my site that are necessary to create a new user upon first login. CORS is setup properly in apache.
Am I missing something special on the Azure side? I changed the nameID to send email address instead, but not sure if this helps?
There’s an ‘edit on GitHub’ button top right of the page which takes you directly to the page you need to edit, then you can click the pencil button to suggest changes.
Happy to help you get started if you’d like to contribute this information to help others!