etc/emqx_auth_clientid.conf: ## Password hash. ## ## Value: plain | md5 | sha | sha256 auth.client.password_hash = sha256 REST API List all clientids: # Request GET api/v4/auth_clientid # Response { "code": 0, "data": ["clientid1"] } ...
EMQ X ClientId Authentication Plugin. Contribute to emqx/emqx-auth-clientid development by creating an account on GitHub.
EMQ X ClientId Authentication Plugin. Contribute to emqx/emqx-auth-clientid development by creating an account on GitHub.
emqx: image: emqx/emqx:latest container_name: emqx restart: always volumes: - /contiocean/emqx/etc:/opt/emqx/etc - /contiocean/emqx/log:/opt/emqx/log - /contiocean/emqx/data:/opt/emqx/data user: root ports: - 1883:1883 - 8083:8083 - 8084:8084 - 8080:8080 - 18083:18083 and then ...
Delete a clientid: ``` # Request DELETE api/v3/auth_clientid/$CLIENTID # Response { "code": 0 } ``` Load the Plugin5 src/emqx_auth_clientid.erl @@ -31,6 +31,8 @@ , description/0 ]). -export([unwrap_salt/1]). -define(TAB, ?MODULE). -record(?TAB, {client_id, passw...
Adding anonymous access do not save this use case because I still want to validate that the client_id is registered. 👍 3 Contributor emqplus commented Jan 16, 2018 @jbpin Can you provide a default username for all the MQTT clients? Then this plugin will call the Auth API with clien...