Skip to main content

Hi,

I’m meeting an issue, I configured the SAML authentification with my IdP Cyberark. The redirection on my IdP is fine but when I’m trying to authenticate i got the error Contact does not exist.

But I can see the new user/contact created in the the centreon list (I use the Auto import users fonctionnality). I don’t see any error with SAML tracer.

Any idea ?

Regards,

 

HI @NauGui, can you enable “Authentication debug” in “Administration  >  Parameters  >  Debug” menu and check /var/log/centreon/login.log file when you try to authenticate.


Hi,

I enabled the debug log for authentification, but I dont have any lead in the log only INFO.

2024-05-16 14:44:24|-1|0|0|[saml] [info] authenticate the user through SAML []
2024-05-16 14:44:24|-1|0|0|[saml] [info] checking security access rules []
2024-05-16 14:44:24|-1|0|0|[saml] [info] Authentication conditions disabled []
2024-05-16 14:44:24|-1|0|0|[saml] [info] Roles mapping is enabled []
2024-05-16 14:44:24|-1|0|0|[saml] [info] Role mapping relation found {"conditions_matches":["user"],"provider":["user"],"configured":["user","centreon-editors"]}
2024-05-16 14:44:24|-1|0|0|[saml] [info] Groups Mapping Enabled []
2024-05-16 14:44:24|-1|0|0|[saml] [info] Configured groups mapping attribute path found ["group"]
2024-05-16 14:44:24|-1|0|0|[saml] [info] Groups relations [{"group claim":"Admin_Systeme_et_Reseau","contact group":"Admin_Systeme_et_Reseau"}]
2024-05-16 14:44:24|-1|0|0|[saml] [info] Groups found ["Admin_Systeme_et_Reseau"]
2024-05-16 14:44:24|-1|0|0|[saml] [info] start auto import []
2024-05-16 14:44:24|-1|0|0|[saml] [info] auto import starting... {"user":"usertest"}
 


Hi @NauGui

Did you manage to find a solution to your issue? If so, feel free to share how you did it; it will help someone with the same problem find a solution easily.

Thank you,


Reply