Code Monkey home page Code Monkey logo

Comments (9)

mochi-co avatar mochi-co commented on July 25, 2024 4

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.

wind-c avatar wind-c commented on July 25, 2024 3

Authentication and ACL support using Redis. May refer to https://github.com/wind-c/comqtt .

from server.

dgduncan avatar dgduncan commented on July 25, 2024 2

@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.

amin-is avatar amin-is commented on July 25, 2024 1

@mochi-co @wind-c

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.

mochi-co avatar mochi-co commented on July 25, 2024

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.

dgduncan avatar dgduncan commented on July 25, 2024

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.

wind-c avatar wind-c commented on July 25, 2024

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.

dgduncan avatar dgduncan commented on July 25, 2024

@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.

mochi-co avatar mochi-co commented on July 25, 2024

@dgduncan Good idea! Let's add this to the roadmap - closing this issue.

from server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.