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

"ACL check only" mode? #260

Open
abh opened this issue Dec 31, 2022 · 4 comments
Open

"ACL check only" mode? #260

abh opened this issue Dec 31, 2022 · 4 comments

Comments

@abh
Copy link
Contributor

abh commented Dec 31, 2022

I use mTLS for authenticating to mosquitto and setting up the username.

Is it possible to have a configuration (custom plugin or http) that does only the ACL check?

@abh
Copy link
Contributor Author

abh commented Dec 31, 2022

(for me an alternative would be a JWT mode where the claim includes the ACL rules, but that seems to be deliberately not supported -- the JS path seems a bit unmaintainable).

@iegomez
Copy link
Owner

iegomez commented Jan 3, 2023

(If I got your question right) It's not possible right now unless you know how Mosquitto is setting up the username and use any backend to do a fixed check, and correctly configuring whatever backend you need when worrying about ACLs.

And you're right about your assessment in #113 (comment), "pure" JWT checks that include the topics are not yet supported. They might be, but I don't see it happening in the near future unless someone wants to step up.

@iegomez
Copy link
Owner

iegomez commented Feb 17, 2023

Did I get it right?
If not, could you clarify?

@abh
Copy link
Contributor Author

abh commented Jun 7, 2023

You got it exactly right! I think mosquitto-go-auth covers a bunch of more complex use cases / workflows than what I needed, so I don't know if my feature request is appropriate for this project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants