in reply to Re: Dancer2 JWT with multiple apps isn't working
in thread Dancer2 JWT with multiple apps isn't working

Thanks, this suggestion was actually already made by the JWT maintainer (ambs) in github:
my $jwt_plugin = $app->with_plugin('Dancer2::Plugin::JWT'); my $jwt = $jwt_plugin->jwt();
and, as you suggest, this:
my $jwt_plugin = $app->find_plugin('Dancer2::Plugin::JWT'); my $jwt = $jwt_plugin->jwt();
seems to work also.