in reply to Re: Dancer2 JWT with multiple apps isn't working
in thread Dancer2 JWT with multiple apps isn't working
and, as you suggest, this:my $jwt_plugin = $app->with_plugin('Dancer2::Plugin::JWT'); my $jwt = $jwt_plugin->jwt();
seems to work also.my $jwt_plugin = $app->find_plugin('Dancer2::Plugin::JWT'); my $jwt = $jwt_plugin->jwt();
|
|---|