Error 401 Unauthorized

POST https://e-batiment.fji.ch/api/auth/refresh

Security

Firewall

api Name
Security enabled
Stateless

Configuration

Key Value
provider App\Security\UserProvider
context (none)
entry_point security.authenticator.jwt.api
user_checker App\Security\UserChecker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "switch_user"
  "refresh_jwt"
  "jwt"
]

Token

There is no security token.

Listeners

Listener Duration Response
"Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener"
7.65 ms
Gesdinet\JWTRefreshTokenBundle\Http\RefreshAuthenticationFailureResponse {#599
  +headers: Symfony\Component\HttpFoundation\ResponseHeaderBag {#680 …}
  #content: "{"code":401,"message":"Missing JWT Refresh Token"}"
  #version: "1.1"
  #statusCode: 401
  #statusText: "Unauthorized"
  #charset: "UTF-8"
  -sentHeaders: ? array
  #data: "{"code":401,"message":"Missing JWT Refresh Token"}"
  #callback: null
  #encodingOptions: 15
  -message: "Missing JWT Refresh Token"
}
"Symfony\Component\Security\Http\Firewall\SwitchUserListener"
(none) (none)
"Symfony\Component\Security\Http\Firewall\LogoutListener"
(none) (none)
"Symfony\Component\Security\Http\Firewall\AccessListener"
(none) (none)

Authenticators

Status Authenticator
skipped
"Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\JWTAuthenticator"

This authenticator did not support the request.

failure
"Gesdinet\JWTRefreshTokenBundle\Security\Http\Authenticator\RefreshTokenAuthenticator"
Lazy no
Duration 4.10 ms
Badges
Exception
Gesdinet\JWTRefreshTokenBundle\Security\Exception\MissingTokenException {#406
  #message: ""
  #code: 0
  #file: "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/gesdinet/jwt-refresh-token-bundle/src/Security/Http/Authenticator/RefreshTokenAuthenticator.php"
  #line: 93
  -token: null
  trace: {
    /home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/gesdinet/jwt-refresh-token-bundle/src/Security/Http/Authenticator/RefreshTokenAuthenticator.php:93 {
      Gesdinet\JWTRefreshTokenBundle\Security\Http\Authenticator\RefreshTokenAuthenticator->authenticate(Request $request): Passport …
      › if (null === $token) {
      ›     throw new MissingTokenException();
      › }
    }
    /home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/security-http/Authenticator/Debug/TraceableAuthenticator.php:82 {
      Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator->authenticate(Request $request): Passport …
      › try {
      ›     $this->passport = $this->authenticator->authenticate($request);
      › } finally {
    }
    /home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/security-http/Authentication/AuthenticatorManager.php:173 {
      Symfony\Component\Security\Http\Authentication\AuthenticatorManager->executeAuthenticator(AuthenticatorInterface $authenticator, Request $request): Response …
      › // get the passport from the Authenticator
      › $passport = $authenticator->authenticate($request);
      › 
    }
    /home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/security-http/Authentication/AuthenticatorManager.php:155 {
      Symfony\Component\Security\Http\Authentication\AuthenticatorManager->executeAuthenticators(array $authenticators, Request $request): Response …
      › 
      › $response = $this->executeAuthenticator($authenticator, $request);
      › if (null !== $response) {
    }
    /home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/security-http/Authentication/AuthenticatorManager.php:137 {
      Symfony\Component\Security\Http\Authentication\AuthenticatorManager->authenticateRequest(Request $request): Response …
      › 
      ›     return $this->executeAuthenticators($authenticators, $request);
      › }
    }
    /home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/security-http/Firewall/AuthenticatorManagerListener.php:38 {
      Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener->authenticate(RequestEvent $event): void …
      › $request = $event->getRequest();
      › $response = $this->authenticatorManager->authenticateRequest($request);
      › if (null === $response) {
    }
    /home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/security-http/Authenticator/Debug/TraceableAuthenticatorManagerListener.php:58 {
      Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticatorManagerListener->authenticate(RequestEvent $event): void …
      › {
      ›     $this->authenticationManagerListener->authenticate($event);
      › }
    }
    /home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/security-bundle/Debug/WrappedLazyListener.php:52 {
      Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener->authenticate(RequestEvent $event): void …
      › try {
      ›     $this->listener->authenticate($event);
      › } catch (LazyResponseException $e) {
    }
    /home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php:93 {
      Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener->callListeners(RequestEvent $event, iterable $listeners): void …
      › 
      › $listener->authenticate($event);
      › 
    }
    /home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/security-http/Firewall.php:93 {
      Symfony\Component\Security\Http\Firewall->onKernelRequest(RequestEvent $event): void …
      › 
      ›     $this->callListeners($event, $authenticationListeners());
      › }
    }
    /home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:122 {
      Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
      › try {
      ›     ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
      › } finally {
    }
    /home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:115 {
      Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object $event, ?string $eventName = null): object …
      › 
      ›     $listener($event, $eventName, $this);
      › }
    }
    /home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/http-kernel/HttpKernel.php:174 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST, ?ControllerMetadata &$controllerMetadata = null): Response …
      › $event = new RequestEvent($this, $request, $type);
      › $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
      › 
    }
    /home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/http-kernel/HttpKernel.php:80 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {
      ›     return $response = $this->handleRaw($request, $type, $controllerMetadata);
      › } catch (\Throwable $e) {
    }
    /home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/http-kernel/Kernel.php:156 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {
      ›     return $this->getHttpKernel()->handle($request, $type, $catch);
      › } finally {
    }
    /home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {
      ›     $response = $this->kernel->handle($this->request);
      › 
    }
    /home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/autoload_runtime.php:32 {
      require_once …
      ›         ->getRunner($app)
      ›         ->run()
      › );
    }
    /home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/public/index.php:7 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
      › 
      arguments: {
        "/home/clients/7013e9c520340d452787db41b1ef6905/sites/e-batiment.fji.ch/vendor/autoload_runtime.php"
      }
    }
  }
}

Access Decision