Hi Nicolas,
Thanks for your reply. As you tested it should be working, I retried again and finally make the wazuh login screen showing the sso login option. Interestedly, I had to remove "tab" before that two lines to make it works.
However, after I logged in via SSO, but no agents were showing up on the dashboard even I had role mapping configured to "all_access" already. The dashboard returned permission error below:
Error: 3013 - Permission denied: Resource type: *:*
at createError (https://<wazuh>.com/44101/bundles/plugin/wazuh/wazuh.plugin.js:2:28658)
at settle (https://<wazuh>.com/44101/bundles/plugin/wazuh/wazuh.plugin.js:8:19613)
at XMLHttpRequest.onloadend (https://<wazuh>.com/44101/bundles/plugin/wazuh/wazuh.plugin.js:2:26451)
My logged in ID was mapped to roles "own_index" and "all_access", while the backend role was mapped to the correct role created on AD.
Any ideas?