How to?
Closed this issue · 1 comments
uwejan commented
Hi, am already using webhooks, which is more than fine, in my case.
The thing is i have to use classical username and password.
Will this plugin save me that by passing only a token as username?
another how to, how do i install this plugin on an already configured vernemq node.
Many thanks.
manifest commented
Hey uwejan,
I'm not sure if I get you correctly, but if you will run this example with these environment variables set
APP_AUTHN_ENABLED=1
APP_AUTHZ_ENABLED=0
APP_DYNSUB_ENABLED=0
APP_STAT_ENABLED=0
you would get an agent_id
property within each published message. The agent_id
is basically aud
+ sub
from the JWT passed as a password.
I hope this helps.