Question

Authentification SAML Error Contact does not exist


Badge +1

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,

 


2 replies

Userlevel 6
Badge +19

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.

Badge +1

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"}
 

Reply