Try to search your question here, if you can't find : Ask Any Question Now ?

vernemq auth using webhoooks

HomeCategory: stackoverflowvernemq auth using webhoooks
Avatarpragati asked 4 months ago

I wants to authenticate/authorize clients on vernemq broker. This are two hooks I’m interested in:


I have setup above hooks and endpoints for them. On new register and subscription, I’m able to log the POST request params.

Related vernemq docs can be found here


Can we pass some custom variables in client request, so that we can handle auth.

If not, then can ssl be good alternative here, please include procedure for that?

by enabling auth_on_register we can get POST request to corresponding endpoint, with params:

    "peer_addr": "",
    "peer_port": 8888,
    "username": "username",
    "password": "password",
    "mountpoint": "",
    "client_id": "clientid",
    "clean_session": false

you can see that it is using username and password for auth purpose, do vernemq or mqqt in general provide facility to send custom params e.g. auth_token?

I have read that we can configure ssl certificates also, so if there’s no facility for custom params then I would to go with this, or any other suggestion?

1 Answers
Best Answer
AvatarFernando answered 4 months ago
Your Answer

6 + 11 =

Popular Tags

WP Facebook Auto Publish Powered By :