While I've only tried with the READONLY_USERNAME and READONLY_PASSWORD, the passing of the capabilities should also work for the JWT tokens which have the capabilities in them.
Since JS/TS is not my world, please forgive me simple mistakes you could find.
This a provisional implementation for #38.
While I've only tried with the
READONLY_USERNAME
andREADONLY_PASSWORD
, the passing of the capabilities should also work for the JWT tokens which have the capabilities in them.Since JS/TS is not my world, please forgive me simple mistakes you could find.