You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support mqtt topics with path parameters required to match guarded identity #1382
Describe the desired outcome from the user's perspective
As IoT devops, I want to be secure access to some MQTT client specific topics for publish and/or subscribe.
Acceptance criteria
for publish or subscribe routes
mqtt server can define path parameters for any segment in a topic name
mqtt server can enforce that a path parameter matches the client's guarded identity (e.g. via jwt guard)
Additional context
Suggested syntax after discussing with @epieffe.
In this example, a taxi can only publish its own location and subscribe to updates intended for itself, by requiring the {id} path parameter to the match the guarded identity of the currently connected taxi.
Activity
epieffe commentedon Jan 24, 2025
Ok @jfallows, thank you!