Comments (9)
It should be quite simple to make an equivalent of this with the new universal hooks in v2.0.0. If nobody else makes one, I will try to get to it at some point in the future 👍🏻
from server.
Authentication and ACL support using Redis. May refer to https://github.com/wind-c/comqtt .
from server.
@mochi-co I am working on some technology specific hooks along with more general RPC hooks to fulfill this need inspired by mosquitto-go-auth
from server.
Very Sorry for late reply.
Mosquitto Broker is very popular MQTT Broker and Mosquitto Go Auth is a 3rd party authentication and authorization plugin. Using this plugins i can manage very easily users, password and acls for topis permission. This plugins Support Many popular Database. Currently i am using MongoDB Backend. Also Mosquitto MQTT broker and Mosquitto Go Auth plugins available for many OS Support. But for performance Mochi MQTT is much better. I want to install Mochi MQTT on Ubuntu OS and Mange users authentication and acls control with MongoDB.
Best Regards
from server.
Hi @amin-is! Could you provide an example of how the mysql and mongodb plugins are implemented? It should be trivial for someone who uses either to implement this using the github.com/mochi-co/mqtt/server/listeners/auth Controller interface.
from server.
For anyone interested, here is the very early beginnings of what I am working on: mochi-cloud-hooks. HTTP is almost done and I am working on firestore
, pub/sub
, and DynamoDB
locally. Please note this is not production ready and is still being actively being worked on.
from server.
Comqtt supports multiple authentication ways.
It is developed based on the mochi-co/mqtt v2.0 hook, later it can be pulled out and contributed to mochi-co/mqtt.
May refer to https://github.com/wind-c/comqtt .
from server.
@mochi-co Should this be closed and moved over to a feature request in our feature roadmap? It seems like less of an issue and more of a feature request.
from server.
@dgduncan Good idea! Let's add this to the roadmap - closing this issue.
from server.
Related Issues (20)
- Hi, what is the simplest way to make messages can be restored when server cut off? HOT 5
- [badgerdb] vlog growing unbounded - consider adding GC and exposing options HOT 6
- The badge still getting vlog file keep growing infirnity HOT 7
- How to send topics posted by specific users only to specific subscribed users? HOT 11
- Does peddle perssistant released? HOT 5
- MQTTX cannot use Topic Alias. MQTT5.0 主题别名发送卡住,无法发布主题别名的消息 HOT 2
- How to use the new pessistent hook? HOT 1
- Reload auth fIle on the run HOT 2
- InlineClient模式下服务端订阅问题,inline subscribers do not receive messages HOT 5
- Merge 2 version of storm HOT 4
- Add Support for Disconnect With Will Message Reason Code
- Logging Level is not Configurable Via File Configuration
- Persistence storage did not work with SetCleanSession(false) HOT 3
- Don't allow inheriting session unless username matches HOT 5
- MessageExpiry Hook HOT 1
- OnConnectAuthenticate cannot specify an error code (like Client Identifier not valid)
- Resend timeout inflight messages
- Bug in inflight message restore from datastore
- Proposal: Add an Example for Custom Hook Usage HOT 2
- can I use mqtts ? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from server.