I'm using itop version 3.02 and SAML 1.1.2 at two our sites. One site works grate and the second one have a problem wih SAML login. I have two same configuration and the differencies are only at OS and MS Azure tenants.
My problem:
After click on the "Sign with SAML, browser redirects me to the MS login page and after authentication browser are redirected back to the iTop login page. In saml.log i found succesfull login for my account and redirect to https://itop.mydomain.com/pages/UI.php.
@Pavel - Can you please help setting up the SAML.
AADSTS50011: The reply URL 'https://xxx/env-production/combodo-saml/acs.php' specified in the request does not match the reply URLs configured for the application 'abcdefgh-1234-40b9-999e-0e3b9807e8eb'.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Based on your description, it might be the same issue I'm facing. When you are redirected back to the login page, try clicking login again. Are you being loged in right away then?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I'm using itop version 3.02 and SAML 1.1.2 at two our sites. One site works grate and the second one have a problem wih SAML login. I have two same configuration and the differencies are only at OS and MS Azure tenants.
My problem:
After click on the "Sign with SAML, browser redirects me to the MS login page and after authentication browser are redirected back to the iTop login page. In saml.log i found succesfull login for my account and redirect to https://itop.mydomain.com/pages/UI.php.
Second click to the "Sign with SAML" logged me in the iTop User Portal (my SAML account have only Portal User). In saml.log I found only this:
This is my itop config:
PrintScreens from developers tool in browser attached:
01_SAML-login.png - after first click
02_SAML-login.png - after second click
Any idea what I have wrong?
Thx
@Pavel - Can you please help setting up the SAML.
AADSTS50011: The reply URL 'https://xxx/env-production/combodo-saml/acs.php' specified in the request does not match the reply URLs configured for the application 'abcdefgh-1234-40b9-999e-0e3b9807e8eb'.
It's literally telling you what the issue is. On the Microsoft side, make sure the ACS URL is properly configured for the application :)
Add "Relay State" in step 1 in the SAML configuration in Azure. Set it to e.g., https://itop.mydomain.com/pages/UI.php, and it should work. =)
EDIT: Nevermind... it worked while in inkognito for whatever reason, but not otherwise. Guess that setting does not do any differences.
Last edit: Lucas Hökerberg 2024-02-26
Just to make sure: the "external user" account in iTop is "99" for this user?
@pavel - updated the Reply URL in the AAD to
https://xxx/env-production/combodo-saml
now getting the error -
Invalid audience for this Response (expected 'abcdef-1234-8fa1-9d42022b4fcf', got 'spn:1abcdef-1234-47a5-8fa1-9d42022b4fcf')
Depends a lot on how exactly you set up the integration with Microsoft Entra ID.
If done in a certain way, the entity ID in iTop will need to have the "spn:" prefix.
@jeffrey - Can you please help setting up the SAML. I can send a zoom link to quickly connect and go through the settings.
Based on your description, it might be the same issue I'm facing. When you are redirected back to the login page, try clicking login again. Are you being loged in right away then?