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

Description
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:
- 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.*
- 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">>},
...
]}
].