Error 401 Unauthorized

POST https://meeple-club.tokii.fr/api/auth/token

Security

Token

There is no security token.

Firewall

api_auth Name
Security enabled
Stateless

Configuration

Key Value
provider App\Identity\Infrastructure\Security\SymfonyUserProvider
context (none)
entry_point (none)
user_checker security.user_checker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "login_throttling"
  "json_login"
]

Listeners

Listener Duration Response
"Symfony\Component\Security\Http\Firewall\ChannelListener"
(none) (none)
"Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener"
460.53 ms
Symfony\Component\HttpFoundation\JsonResponse {#1184
  +headers: Symfony\Component\HttpFoundation\ResponseHeaderBag {#1185 …}
  #content: "{"error":"Identifiants invalides."}"
  #version: "1.1"
  #statusCode: 401
  #statusText: "Unauthorized"
  #charset: "UTF-8"
  -sentHeaders: ? array
  #data: "{"error":"Identifiants invalides."}"
  #callback: null
  #encodingOptions: 15
}
"Symfony\Component\Security\Http\Firewall\AccessListener"
(none) (none)

Authenticators

Status Authenticator
failure
"Symfony\Component\Security\Http\Authenticator\JsonLoginAuthenticator"
Lazy no
Duration 0.29 ms
Passport
Symfony\Component\Security\Http\Authenticator\Passport\Passport {#1155
  #user: App\Identity\Infrastructure\Security\SymfonyUser {#1191 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#1056
      -userLoader: App\Identity\Infrastructure\Security\SymfonyUserProvider::loadUserByIdentifier(string $identifier): UserInterface {#1055 …}
      -user: App\Identity\Infrastructure\Security\SymfonyUser {#1191 …}
      -identifierNormalizer: null
      -userIdentifier: "admin@tokiwoki.dev"
      -attributes: null
    }
    "Symfony\Component\Security\Http\Authenticator\Passport\Credentials\PasswordCredentials" => Symfony\Component\Security\Http\Authenticator\Passport\Credentials\PasswordCredentials {#1156
      -password: "admin1z34"
      -resolved: false
    }
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\RememberMeBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\RememberMeBadge {#1157
      -enabled: false
      +parameters: [
        "email" => "admin@tokiwoki.dev"
        "password" => null
        "deviceId" => "b76874d4-3604-4f4b-8976-cd387cc46acd"
        "platform" => "android"
      ]
    }
  ]
  -attributes: []
}
Badges UserBadge PasswordCredentials RememberMeBadge
Exception
Symfony\Component\Security\Core\Exception\BadCredentialsException {#1202
  #message: "The presented password is invalid."
  #code: 0
  #file: "/var/www/Kohort/vendor/symfony/security-http/EventListener/CheckCredentialsListener.php"
  #line: 67
  -token: null
  trace: {
    /var/www/Kohort/vendor/symfony/security-http/EventListener/CheckCredentialsListener.php:67 {
      Symfony\Component\Security\Http\EventListener\CheckCredentialsListener->checkPassport(CheckPassportEvent $event): void …
      › if (!$this->hasherFactory->getPasswordHasher($user)->verify($user->getPassword(), $presentedPassword, $user instanceof LegacyPasswordAuthenticatedUserInterface ? $user->getSalt() : null)) {    throw new BadCredentialsException('The presented password is invalid.');}
    }
    /var/www/Kohort/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/Kohort/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/Kohort/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/Kohort/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 {
    }
    /var/www/Kohort/vendor/symfony/security-http/Authentication/AuthenticatorManager.php:176 {
      Symfony\Component\Security\Http\Authentication\AuthenticatorManager->executeAuthenticator(AuthenticatorInterface $authenticator, Request $request): Response …
      › $event = new CheckPassportEvent($authenticator, $passport);$this->eventDispatcher->dispatch($event);}
    /var/www/Kohort/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) {
    }
    /var/www/Kohort/vendor/symfony/security-http/Authentication/AuthenticatorManager.php:136 {
      Symfony\Component\Security\Http\Authentication\AuthenticatorManager->authenticateRequest(Request $request): Response …
      › 
      ›     return $this->executeAuthenticators($authenticators, $request);}
    }
    /var/www/Kohort/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/Kohort/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/Kohort/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) {
    }
    /var/www/Kohort/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php:88 {
      Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener->callListeners(RequestEvent $event, iterable $listeners): void …
      › 
      › $listener->authenticate($event);}
    /var/www/Kohort/vendor/symfony/security-http/Firewall.php:86 {
      Symfony\Component\Security\Http\Firewall->onKernelRequest(RequestEvent $event): void …
      › 
      ›     $this->callListeners($event, $authenticationListeners());}
    }
    /var/www/Kohort/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/Kohort/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/Kohort/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/Kohort/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 {
    }
    /var/www/Kohort/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/Kohort/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/Kohort/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 {
    }
    /var/www/Kohort/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);}
    /var/www/Kohort/vendor/autoload_runtime.php:32 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/Kohort/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/www/Kohort/vendor/autoload_runtime.php"
      }
    }
  }
}

Access Decision