Hello Maverick,
I have initated authentication using HTTP server to EMQX broker and connection between EMQX broker and HTTP server is successful and i am getting authentication status code 200 as well but still i am getting error not authorized
please check below logs and provide me solution please.
[AUTHN] BACKEND-DEV-CVS_CLZ_COM-PUBLISHER-v1.0.8-cvs-kafka-stream-d79d695d-lphtr@192.168.112.1:44716 msg: http_response, provider: emqx_authn_http, request: [base_url: http://10.13.10.16:30331/mqtt/auth, headers: [{<<“accept”>>,<<“application/json”>>},{<<“cache-control”>>,<<“no-cache”>>},{<<“connection”>>,<<“keep-alive”>>},{<<“content-type”>>,<<“application/json”>>},{<<“keep-alive”>>,<<“timeout=30, max=1000”>>}], method: post, mody: {“username":"backend.mqtt@clouzer.com”,“password”:“[password]”,“clientid”:“BACKEND-DEV-CVS_CLZ_COM-PUBLISHER-v1.0.8-cvs-kafka-stream-d79d695d-lphtr”}, path_query: /mqtt/auth], resource: emqx_authn_http:89, response: [headers: [{<<“content-length”>>,<<“0”>>},{<<“date”>>,<<“Fri, 22 Sep 2023 03:54:09 GMT”>>},{<<“keep-alive”>>,<<“timeout=60”>>},{<<“connection”>>,<<“keep-alive”>>}], status: 200]
2023-09-22T03:54:09+00:00 [AUTHN] BACKEND-DEV-CVS_CLZ_COM-PUBLISHER-v1.0.8-cvs-kafka-stream-d79d695d-lphtr@192.168.112.1:44716 msg: authenticator_result, authenticator: password_based:http, result: ignore
2023-09-22T03:54:09+00:00 [AUTHN] BACKEND-DEV-CVS_CLZ_COM-PUBLISHER-v1.0.8-cvs-kafka-stream-d79d695d-lphtr@192.168.112.1:44716 msg: authentication_result, reason: chain_result, result: {ok,{error,not_authorized}}