This is a simple JWT skeleton in symfony 5.
Use the package manager composer to install and set up the packages.
The steps are listed below.
composer install
php bin/console doctrine:database:create
php bin/console doctrine:migrations:diff
php bin/console doctrine:migrations:migrate
5 - This command will generate the keypairs to be used on JWT. Inside config/jwt must be 2 files after run this command: private.pem and public.pem:
php bin/console lexik:jwt:generate-keypair