LexikJWTAuthenticationBundle
LexikJWTAuthenticationBundle copied to clipboard
Sentry and LexikJWT are creating fake issues
Hello,
I have Sentry and LexikJWT and each time a user try to login with this payload:
{"email":"","password":""}
It's creates a Sentry issue with this handler:
Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\BadRequestHttpException: "The key "email" must be a string." at /var/www/html/vendor/symfony/security-http/Authenticator/JsonLoginAuthenticator.php line 164
How can i prevent this ?
Looks like you should setup check_path
property to any fake page to prevent using the JsonLoginAuthenticator
https://symfony.com/doc/current/reference/configuration/security.html#check-path