Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add Authentication and ACL support using MySQL or MongoDB and also installation support on Ubuntu OS #94

Closed
amin-is opened this issue Aug 22, 2022 · 9 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@amin-is
Copy link

amin-is commented Aug 22, 2022

I use Mosquitto as Broker and Go-auth plugin for Authentication and ACL manage using MySQL or MongoDB on ubuntu server. I hope you need to add this type of features. When this type of features will add in your Application i will come back from Mosquitto.

Thanks to make mqtt broker Super Fast application using GO Lang.

@mochi-co mochi-co added the enhancement New feature or request label Sep 2, 2022
@mochi-co
Copy link
Collaborator

mochi-co commented Sep 2, 2022

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.

@wind-c
Copy link
Contributor

wind-c commented Sep 10, 2022

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

@amin-is
Copy link
Author

amin-is commented Sep 21, 2022

@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

@mochi-co
Copy link
Collaborator

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 👍🏻

@dgduncan
Copy link
Collaborator

dgduncan commented Feb 10, 2023

@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

@dgduncan
Copy link
Collaborator

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.

@wind-c
Copy link
Contributor

wind-c commented Mar 11, 2023

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 .

@mochi-co mochi-co added the help wanted Extra attention is needed label Sep 8, 2023
@dgduncan
Copy link
Collaborator

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

@mochi-co
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants