The epic issue aims to change the API login endpoint method from GET to POST, as using GET as the method of a login endpoint is incorrect.
As it was said in https://github.com/wazuh/wazuh/issues/10203#issuecomment-929557731, both GET /security/user/authenticate and POST /security/user/authenticate endpoints will coexist and the deprecation of GET /security/user/authenticate will happen in a future major release.
To avoid future problems when the actual login endpoint (GET) is deprecated, we should update all the references found in this repository:
This issue is part of https://github.com/wazuh/wazuh/issues/12793.
The epic issue aims to change the API login endpoint method from
GET
toPOST
, as usingGET
as the method of a login endpoint is incorrect.As it was said in https://github.com/wazuh/wazuh/issues/10203#issuecomment-929557731, both
GET /security/user/authenticate
andPOST /security/user/authenticate
endpoints will coexist and the deprecation ofGET /security/user/authenticate
will happen in a future major release.To avoid future problems when the actual login endpoint (GET) is deprecated, we should update all the references found in this repository:
https://github.com/wazuh/wazuh-cloudformation/blob/d804667423000d710f3e4a98a00d348d69ff9c45/production/wazuh/cluster/wazuh_cf_master.sh#L192
https://github.com/wazuh/wazuh-cloudformation/blob/d804667423000d710f3e4a98a00d348d69ff9c45/production/wazuh/cluster/wazuh_cf_master.sh#L198