Error 401 Unauthorized

GET https://nw-flow.cloud/api/config

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 App\OAuth\Security\OAuth2Authenticator
user_checker security.user_checker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "App\OAuth\Security\OAuth2Authenticator"
]

Listeners

Listener Duration Response
"Symfony\Component\Security\Http\Firewall\ChannelListener"
(none) (none)
"Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener"
27.45 ms
Symfony\Component\HttpFoundation\JsonResponse {#303
  +headers: Symfony\Component\HttpFoundation\ResponseHeaderBag {#729 …}
  #content: "{"error":"unauthorized","message":"The resource owner or authorization server denied the request."}"
  #version: "1.1"
  #statusCode: 401
  #statusText: "Unauthorized"
  #charset: "UTF-8"
  -sentHeaders: ? array
  #data: "{"error":"unauthorized","message":"The resource owner or authorization server denied the request."}"
  #callback: null
  #encodingOptions: 15
}
"Symfony\Component\Security\Http\Firewall\AccessListener"
(none) (none)

Authenticators

Status Authenticator
failure
"App\OAuth\Security\OAuth2Authenticator"
Lazy no
Duration 25.89 ms
Badges
Exception
Symfony\Component\Security\Core\Exception\CustomUserMessageAuthenticationException {#662
  #message: "The resource owner or authorization server denied the request."
  #code: 0
  #file: "/app/src/OAuth/Security/OAuth2Authenticator.php"
  #line: 53
  -token: null
  -messageKey: "The resource owner or authorization server denied the request."
  -messageData: []
  trace: {
    /app/src/OAuth/Security/OAuth2Authenticator.php:53 {
      App\OAuth\Security\OAuth2Authenticator->authenticate(Request $request): Passport …
      › } catch (OAuthServerException $e) {    throw new CustomUserMessageAuthenticationException($e->getMessage());}
    }
    /app/vendor/symfony/security-http/Authenticator/Debug/TraceableAuthenticator.php:72 {
      Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator->authenticate(Request $request): Passport …
      › try {    $this->passport = $this->authenticator->authenticate($request);} finally {
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#2 …}
      }
    }
    /app/vendor/symfony/security-http/Authentication/AuthenticatorManager.php:172 {
      Symfony\Component\Security\Http\Authentication\AuthenticatorManager->executeAuthenticator(AuthenticatorInterface $authenticator, Request $request): Response …
      › // get the passport from the Authenticator$passport = $authenticator->authenticate($request);arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#2 …}
      }
    }
    /app/vendor/symfony/security-http/Authentication/AuthenticatorManager.php:154 {
      Symfony\Component\Security\Http\Authentication\AuthenticatorManager->executeAuthenticators(array $authenticators, Request $request): Response …
      › 
      › $response = $this->executeAuthenticator($authenticator, $request);if (null !== $response) {
      arguments: {
        $authenticator: Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#708 …}
        $request: Symfony\Component\HttpFoundation\Request {#2 …}
      }
    }
    /app/vendor/symfony/security-http/Authentication/AuthenticatorManager.php:136 {
      Symfony\Component\Security\Http\Authentication\AuthenticatorManager->authenticateRequest(Request $request): Response …
      › 
      ›     return $this->executeAuthenticators($authenticators, $request);}
      arguments: {
        $authenticators: [ …1]
        $request: Symfony\Component\HttpFoundation\Request {#2 …}
      }
    }
    /app/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) {
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#2 …}
      }
    }
    /app/vendor/symfony/security-http/Authenticator/Debug/TraceableAuthenticatorManagerListener.php:58 {
      Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticatorManagerListener->authenticate(RequestEvent $event): void …
      › {    $this->authenticationManagerListener->authenticate($event);}
      arguments: {
        $event: Symfony\Component\HttpKernel\Event\RequestEvent {#186 …}
      }
    }
    /app/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) {
      arguments: {
        $event: Symfony\Component\HttpKernel\Event\RequestEvent {#186 …}
      }
    }
    /app/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php:88 {
      Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener->callListeners(RequestEvent $event, iterable $listeners): void …
      › 
      › $listener->authenticate($event);arguments: {
        $event: Symfony\Component\HttpKernel\Event\RequestEvent {#186 …}
      }
    }
    /app/vendor/symfony/security-http/Firewall.php:86 {
      Symfony\Component\Security\Http\Firewall->onKernelRequest(RequestEvent $event): void …
      › 
      ›     $this->callListeners($event, $authenticationListeners());}
      arguments: {
        $event: Symfony\Component\HttpKernel\Event\RequestEvent {#186 …}
        $listeners: Generator {#660 …}
      }
    }
    /app/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 {
      arguments: {
        $event: Symfony\Component\HttpKernel\Event\RequestEvent {#186 …}
        ...: {
          "kernel.request"
          Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#288 …}
        }
      }
    }
    /app/vendor/symfony/event-dispatcher/EventDispatcher.php:206 {
      Symfony\Component\EventDispatcher\EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event): void …
      ›     }    $listener($event, $eventName, $this);}
      arguments: {
        $event: Symfony\Component\HttpKernel\Event\RequestEvent {#186 …}
        $eventName: "kernel.request"
        $dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#288 …}
      }
    }
    /app/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);}
      arguments: {
        $listeners: [ …15]
        $eventName: "kernel.request"
        $event: Symfony\Component\HttpKernel\Event\RequestEvent {#186 …}
      }
    }
    /app/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:129 {
      Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object $event, ?string $eventName = null): object …
      › try {    $this->dispatcher->dispatch($event, $eventName);} finally {
      arguments: {
        $event: Symfony\Component\HttpKernel\Event\RequestEvent {#186 …}
        $eventName: "kernel.request"
      }
    }
    /app/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);arguments: {
        $event: Symfony\Component\HttpKernel\Event\RequestEvent {#186 …}
        $eventName: "kernel.request"
      }
    }
    /app/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) {
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#2 …}
        $type: 1
      }
    }
    /app/vendor/symfony/http-kernel/Kernel.php:191 {
      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 {
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#2 …}
        $type: 1
        $catch: true
      }
    }
    /app/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#2 …}
      }
    }
    /app/vendor/autoload_runtime.php:32 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /app/public/index.php:7 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/app/vendor/autoload_runtime.php"
      }
    }
  }
}

Access Decision