Slim3 JWT Authentication

I have a new install of slim 3 and have added jwt auth from

When I try to access this code. I get nothing. No errors, no logs, nuthin.

How can I get this to auth?

Kind rfegards

My index.php looks like this ->

<?php use \Psr\Http\Message\ServerRequestInterface as Request; use \Psr\Http\Message\ResponseInterface as Response; require 'vendor/autoload.php'; $app = new \Slim\App; $app->add(new \Slim\Middleware\JwtAuthentication([ "secret" => "supersecretkeyyoushouldnotcommittogithub" ])); $app->group('/v1', function () use ($app) { $app->get('', function ($req, $res) { echo 'API Version 1'; }); }); $app->run();

I’d try turning on displayErrorDetails and see what you get.