There's a "realm" config option that allows changing the realm to be something other than AuthX (like your app's name). Right now this isn't used in the scopes tried by the controllers. It needs to be there to be useful.
Instead of "AuthX:role.*:read" it should be ctx.app.config.realm + ":role.*:read".
There's a "realm" config option that allows changing the realm to be something other than AuthX (like your app's name). Right now this isn't used in the scopes tried by the controllers. It needs to be there to be useful.
Instead of
"AuthX:role.*:read"
it should bectx.app.config.realm + ":role.*:read"
.