emqx-auth-http icon indicating copy to clipboard operation
emqx-auth-http copied to clipboard

Is 'emqx_auth_http.auth_req' required?

Open miaovictor opened this issue 4 years ago • 1 comments

I want enable http ACL,but i don't want to enable Authentication,In the doc:

The emqx_auth_http plugin also includes ACL feature, which can be disabled via comments.

But if i comment 'emqx_auth_http.auth_req', the emqx_auth_http plugin cannot start!

miaovictor avatar May 14 '20 15:05 miaovictor

I want enable http ACL,but i don't want to enable Authentication,In the doc:

The emqx_auth_http plugin also includes ACL feature, which can be disabled via comments.

But if i comment 'emqx_auth_http.auth_req', the emqx_auth_http plugin cannot start!

You can return a string body ignore for ignore authentication by your http API. Document at here :https://docs.emqx.io/broker/latest/en/advanced/auth-http.html#authentication-principle

wwhai avatar Oct 09 '20 09:10 wwhai