Skip to content
This repository was archived by the owner on Nov 17, 2020. It is now read-only.
This repository was archived by the owner on Nov 17, 2020. It is now read-only.

improve documentation to specify multi-level topic filtering when using MQTT #46

@almarro1

Description

@almarro1

Hi, I've been struggling for a time trying to use this plugin. It is quite powerful, but the documentation is poor. I give a couple of examples that should be improved:

  1. Topic filtering patterns: it is not specified that multilevel filter can be used, separating levels with the . char. For example, if I want to restrict read to abc/cde/#, then the regex pattern is abc.cde.*
  2. It is possible to use an additional claim in the token to look for the permissions. It should be configured in rabbit's advanced.config file.
[
  {rabbit, [
    {auth_backends, [rabbit_auth_backend_oauth2, rabbit_auth_backend_internal]}
  ]},
  {rabbitmq_auth_backend_oauth2, [
    {resource_server_id, <<"rabbitmq">>},
    {extra_scopes_source, <<"rabbit_extra_permissions">>},
 ...
]}
].

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions