Error 401 Unauthorized

GET https://deployment.qaonline.com/api/deployment/get

Security

Token

There is no security token.

Firewall

api Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.app_user_provider
context (none)
entry_point (none)
user_checker security.user_checker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "App\Security\ApiTokenAuthenticator"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#506
  -map: Symfony\Component\Security\Http\AccessMap {#505 …}
  -logger: Monolog\Logger {#497 …}
  -httpPort: 80
  -httpsPort: 443
}
(none) (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#529
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#528 …}
}
11.54 ms
Symfony\Component\HttpFoundation\JsonResponse {#555
  +headers: Symfony\Component\HttpFoundation\ResponseHeaderBag {#620 …}
  #content: "{"error":"Unauthorized"}"
  #version: "1.0"
  #statusCode: 401
  #statusText: "Unauthorized"
  #charset: "UTF-8"
  -sentHeaders: ? array
  #data: "{"error":"Unauthorized"}"
  #callback: null
  #encodingOptions: 15
}
Symfony\Component\Security\Http\Firewall\AccessListener {#544
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#280 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#278 …}
  -map: Symfony\Component\Security\Http\AccessMap {#505 …}
}
(none) (none)

Authenticators

Status Authenticator
failure
"App\Security\ApiTokenAuthenticator"
Lazy no
Duration 5.94 ms
Badges
Exception
Symfony\Component\Security\Core\Exception\AuthenticationException {#491
  #message: "Missing or invalid Authorization header"
  #code: 0
  #file: "/var/www/vhosts/deployment.qaonline.com/releases/125/src/Security/ApiTokenAuthenticator.php"
  #line: 32
  -token: null
  trace: {
    /var/www/vhosts/deployment.qaonline.com/releases/125/src/Security/ApiTokenAuthenticator.php:32 {
      App\Security\ApiTokenAuthenticator->authenticate(Request $request): SelfValidatingPassport …
      › if (!$authHeader || !str_starts_with($authHeader, 'Bearer ')) {    throw new AuthenticationException('Missing or invalid Authorization header');}
    }
    /var/www/vhosts/deployment.qaonline.com/releases/125/vendor/symfony/security-http/Authenticator/Debug/TraceableAuthenticator.php:74 {
      Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator->authenticate(Request $request): Passport …
      › try {    $this->passport = $this->authenticator->authenticate($request);} finally {
    }
    /var/www/vhosts/deployment.qaonline.com/releases/125/vendor/symfony/security-http/Authentication/AuthenticatorManager.php:185 {
      Symfony\Component\Security\Http\Authentication\AuthenticatorManager->executeAuthenticator(AuthenticatorInterface $authenticator, Request $request): Response …
      › // get the passport from the Authenticator$passport = $authenticator->authenticate($request);}
    /var/www/vhosts/deployment.qaonline.com/releases/125/vendor/symfony/security-http/Authentication/AuthenticatorManager.php:167 {
      Symfony\Component\Security\Http\Authentication\AuthenticatorManager->executeAuthenticators(array $authenticators, Request $request): Response …
      › 
      › $response = $this->executeAuthenticator($authenticator, $request);if (null !== $response) {
    }
    /var/www/vhosts/deployment.qaonline.com/releases/125/vendor/symfony/security-http/Authentication/AuthenticatorManager.php:149 {
      Symfony\Component\Security\Http\Authentication\AuthenticatorManager->authenticateRequest(Request $request): Response …
      › 
      ›     return $this->executeAuthenticators($authenticators, $request);}
    }
    /var/www/vhosts/deployment.qaonline.com/releases/125/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) {
    }
    /var/www/vhosts/deployment.qaonline.com/releases/125/vendor/symfony/security-http/Authenticator/Debug/TraceableAuthenticatorManagerListener.php:58 {
      Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticatorManagerListener->authenticate(RequestEvent $event): void …
      › {    $this->authenticationManagerListener->authenticate($event);}
    }
    /var/www/vhosts/deployment.qaonline.com/releases/125/vendor/symfony/security-bundle/Debug/WrappedLazyListener.php:46 {
      Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener->authenticate(RequestEvent $event): void …
      › try {    $this->listener->authenticate($event);} catch (LazyResponseException $e) {
    }
    /var/www/vhosts/deployment.qaonline.com/releases/125/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php:94 {
      Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener->callListeners(RequestEvent $event, iterable $listeners): void …
      › } elseif (false !== $listener->supports($event->getRequest())) {    $listener->authenticate($event);}
    }
    /var/www/vhosts/deployment.qaonline.com/releases/125/vendor/symfony/security-http/Firewall.php:93 {
      Symfony\Component\Security\Http\Firewall->onKernelRequest(RequestEvent $event) …
      › 
      ›     $this->callListeners($event, $authenticationListeners());}
    }
    /var/www/vhosts/deployment.qaonline.com/releases/125/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115 {
      Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
      › try {    ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);} finally {
    }
    /var/www/vhosts/deployment.qaonline.com/releases/125/vendor/symfony/event-dispatcher/EventDispatcher.php:206 {
      Symfony\Component\EventDispatcher\EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event): void …
      ›     }    $listener($event, $eventName, $this);}
    }
    /var/www/vhosts/deployment.qaonline.com/releases/125/vendor/symfony/event-dispatcher/EventDispatcher.php:56 {
      Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object $event, ?string $eventName = null): object …
      › if ($listeners) {    $this->callListeners($listeners, $eventName, $event);}
    }
    /var/www/vhosts/deployment.qaonline.com/releases/125/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:126 {
      Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object $event, ?string $eventName = null): object …
      › try {    $this->dispatcher->dispatch($event, $eventName);} finally {
    }
    /var/www/vhosts/deployment.qaonline.com/releases/125/vendor/symfony/http-kernel/HttpKernel.php:159 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › $event = new RequestEvent($this, $request, $type);$this->dispatcher->dispatch($event, KernelEvents::REQUEST);}
    /var/www/vhosts/deployment.qaonline.com/releases/125/vendor/symfony/http-kernel/HttpKernel.php:76 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {
    }
    /var/www/vhosts/deployment.qaonline.com/releases/125/vendor/symfony/http-kernel/Kernel.php:193 {
      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 {
    }
    /var/www/vhosts/deployment.qaonline.com/releases/125/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);}
    /var/www/vhosts/deployment.qaonline.com/releases/125/vendor/autoload_runtime.php:32 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/vhosts/deployment.qaonline.com/releases/125/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/www/vhosts/deployment.qaonline.com/releases/125/vendor/autoload_runtime.php"
      }
    }
  }
}

Access Decision