mosquitto-jwt-auth icon indicating copy to clipboard operation
mosquitto-jwt-auth copied to clipboard

Mosquitto Auth Plugin which enables authentication via JWTs and authorisation via ACLs stored in JWT claims

Results 8 mosquitto-jwt-auth issues
Sort by recently updated
recently updated
newest added

I am trying to validate MS Azure AD generated JWT tokens using jwks. However biscuit is throwing error decoding jwt: ValidationError(MissingAlgorithm). Since MS AD jwks doesn't contain alg field I...

I'm not sure if it's a mosquitto-jwt-auth related issue or an issue in the biscuit library, but it make it difficult to use with EC based key pair.

For RSA plublic key, I found that you should use a base 64 encoded DER using PKCS1. In python, this is given by: ```python base64.b64encode(public_jwk.prepared_key.public_bytes( encoding=serialization.Encoding.DER, format=serialization.PublicFormat.PKCS1 )) ``` Now...

Is it possible to add support for Username / Client ID in the ACLs? [Mosquitto Docs](https://mosquitto.org/man/mosquitto-conf-5.html) ``` %c to match the client id of the client %u to match the...

Hi, Is there a way to set the username from a claim field? For instance i have a jwt token like that: ``` { "user_name": "[email protected]", "creationDate": "2020-10-28T15:33:30.792732Z", "client_id": "nebowebap_cloudtest",...

Load error: Error loading shared library libgcc_s.so.1: No such file or directory (needed by /mosquitto/plugins/libmosquitto_jwt_auth.so) used Prebuild version for Linux

Newer versions of mosquitto use / prefer `plugin_opt...` instead of `auth_opt...`. https://github.com/eclipse/mosquitto/issues/2286

This could have a github action to automatically publish docker images, but for now this is just the docker build I used. (And thank you for this project; it did...