Open DeveloperMarius opened 1 year ago
This sounds like a bug I'll need to look into, the error should be simply skipped and the ACL check pass because of the files entry. That said, if you need a quick workaround, you can disable ACL checks for your JWT backends by registering it to only check users, while your Files backend checks for ACLs: https://github.com/iegomez/mosquitto-go-auth#registering-checks
@bilgeexuu1 I think you're commenting in the wrong issue.
Hey,
when I use the files backend, everything works as expected.
But when I enable the jwt backend using
auth_opt_backends files, jwt
it gives me:I think the ACL check for the files backend is somehow skipped and because the jwt backend fails, I receive an error. Or because the jwt backend fails (admin is not a jwt token), the files ACL check is skipped.
mosquitto.conf:
auth_files.acl:
Thank you for this project and I am looking forward to your feedback.
~ Marius