Error 401 Unauthorized

POST https://floowy.aytweb.com/api/auth

Security

Token

There is no security token.

Firewall

api Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.users
context (none)
entry_point security.authenticator.jwt.api
user_checker security.user_checker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "jwt"
  "json_login"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#598
  -map: Symfony\Component\Security\Http\AccessMap {#597 …}
  -logger: Symfony\Component\HttpKernel\Log\Logger {#153 …}
  -httpPort: 80
  -httpsPort: 443
}
(none) (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#689
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#678 …}
}
721.29 ms
Lexik\Bundle\JWTAuthenticationBundle\Response\JWTAuthenticationFailureResponse {#897
  +headers: Symfony\Component\HttpFoundation\ResponseHeaderBag {#896 …}
  #content: "{"code":401,"message":"Identifiants invalides."}"
  #version: "1.1"
  #statusCode: 401
  #statusText: "Unauthorized"
  #charset: "UTF-8"
  -sentHeaders: ? array
  #data: "{"code":401,"message":"Identifiants invalides."}"
  #callback: null
  #encodingOptions: 15
  -message: "Identifiants invalides."
}
Symfony\Component\Security\Http\Firewall\AccessListener {#691
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#189 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#217 …}
  -map: Symfony\Component\Security\Http\AccessMap {#597 …}
}
(none) (none)

Authenticators

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

This authenticator did not support the request.

failure
"Symfony\Component\Security\Http\Authenticator\JsonLoginAuthenticator"
Lazy no
Duration 0.13 ms
Passport
Symfony\Component\Security\Http\Authenticator\Passport\Passport {#694
  #user: App\Entity\User {#832 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#601
      -userLoader: Symfony\Bridge\Doctrine\Security\User\EntityUserProvider::loadUserByIdentifier(string $identifier): UserInterface {#600 …}
      -user: App\Entity\User {#832 …}
      -userIdentifier: "[email protected]"
      -attributes: null
    }
    "Symfony\Component\Security\Http\Authenticator\Passport\Credentials\PasswordCredentials" => Symfony\Component\Security\Http\Authenticator\Passport\Credentials\PasswordCredentials {#695
      -password: "testAT123"
      -resolved: false
    }
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\RememberMeBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\RememberMeBadge {#696
      -enabled: false
      +parameters: [
        "email" => "[email protected]"
        "password" => null
      ]
    }
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\PasswordUpgradeBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\PasswordUpgradeBadge {#697
      -plaintextPassword: "testAT123"
      -passwordUpgrader: Symfony\Bridge\Doctrine\Security\User\EntityUserProvider {#610 …}
    }
  ]
  -attributes: []
}
Badges UserBadge PasswordCredentials RememberMeBadge PasswordUpgradeBadge
Exception
Symfony\Component\Security\Core\Exception\BadCredentialsException {#868
  #message: "The presented password is invalid."
  #code: 0
  #file: "/var/www/html/vendor/symfony/security-http/EventListener/CheckCredentialsListener.php"
  #line: 67
  -token: null
  trace: {
    /var/www/html/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/html/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/html/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/html/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/html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:122 {
      Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object $event, ?string $eventName = null): object …
      › try {    $this->dispatcher->dispatch($event, $eventName);} finally {
    }
    /var/www/html/vendor/symfony/security-http/Authentication/AuthenticatorManager.php:178 {
      Symfony\Component\Security\Http\Authentication\AuthenticatorManager->executeAuthenticator(AuthenticatorInterface $authenticator, Request $request): Response …
      › $event = new CheckPassportEvent($authenticator, $passport);$this->eventDispatcher->dispatch($event);}
    /var/www/html/vendor/symfony/security-http/Authentication/AuthenticatorManager.php:156 {
      Symfony\Component\Security\Http\Authentication\AuthenticatorManager->executeAuthenticators(array $authenticators, Request $request): Response …
      › 
      › $response = $this->executeAuthenticator($authenticator, $request);if (null !== $response) {
    }
    /var/www/html/vendor/symfony/security-http/Authentication/AuthenticatorManager.php:138 {
      Symfony\Component\Security\Http\Authentication\AuthenticatorManager->authenticateRequest(Request $request): Response …
      › 
      ›     return $this->executeAuthenticators($authenticators, $request);}
    }
    /var/www/html/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/html/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/html/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/html/vendor/symfony/security-http/Firewall/AbstractListener.php:26 {
      Symfony\Component\Security\Http\Firewall\AbstractListener->__invoke(RequestEvent $event): void …
      › if (false !== $this->supports($event->getRequest())) {    $this->authenticate($event);}
    }
    /var/www/html/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php:91 {
      Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener->callListeners(RequestEvent $event, iterable $listeners): void …
      › foreach ($requestListeners as $listener) {    $listener($event);}
    /var/www/html/vendor/symfony/security-http/Firewall.php:92 {
      Symfony\Component\Security\Http\Firewall->onKernelRequest(RequestEvent $event) …
      › 
      ›     $this->callListeners($event, $authenticationListeners());}
    }
    /var/www/html/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/html/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/html/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/html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:122 {
      Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object $event, ?string $eventName = null): object …
      › try {    $this->dispatcher->dispatch($event, $eventName);} finally {
    }
    /var/www/html/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/html/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/html/vendor/symfony/http-kernel/Kernel.php:182 {
      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/html/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);}
    /var/www/html/vendor/autoload_runtime.php:29 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/html/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/www/html/vendor/autoload_runtime.php"
      }
    }
  }
}

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Symfony\Component\Security\Core\Authorization\Voter\RoleVoter"
3
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"
4
"EasyCorp\Bundle\EasyAdminBundle\Security\SecurityVoter"