Can you show the redirect code you are using? You would typically want something like this:
return $response->withRedirect($this->router->pathFor('login'), 403);
Can you show the redirect code you are using? You would typically want something like this:
return $response->withRedirect($this->router->pathFor('login'), 403);