I'm trying to make some experiments with JWT and PHP, but I cannot make the LexikJWTAuthenticationBundle work.
I created a Symfony project using composer composer create-project symfony/skeleton my_project and install LexikJWTAuthenticationBundle with Symfony Flex composer req jwt-auth
Then I follow the Getting Started from project in Github (https://github.com/lexik/LexikJWTAuthenticationBundle/blob/master/Resources/doc/index.md#getting-started) but when I try to run the application I got this error message:
[Symfony\Component\Config\Exception\FileLoaderLoadException]
There is no extension able to load the configuration for "api_login_check" (in /home/alan/Desktop/auth/config/packages/routing.yaml). Looked for namespace "api_login_check", found "framework", "security", "lexik_jwt_authentication" in /home/alan/Desktop/auth/config/packages/routing.yaml (which is loaded in resource "/home/alan/Desktop/auth/config/packages/routing.yaml").
[Symfony\Component\DependencyInjection\Exception\InvalidArgumentException]
There is no extension able to load the configuration for "api_login_check" (in /home/alan/Desktop/auth/config/packages/routing.yaml). Looked for namespace "api_login_check", found "framework", "security", "lexik_jwt_authentication"
I created a repository in github with the code that is getting error https://github.com/alanoliveira/jwt_auth_test
Could someone give me some tip what I am doing wrong?