Answer the question
In order to leave comments, you need to log in
How to properly add a third party bundle in Symfony 4.1?
Added a bundle to Symfony 4.1 using composer
composer require "gesdinet/jwt-refresh-token-bundle"
Gesdinet\JWTRefreshTokenBundle\GesdinetJWTRefreshTokenBundle::class => ['all' => true],
# /config/packages/gesdinet_jwt_refresh_token.yaml
gesdinet_jwt_refresh_token:
ttl: 2592000
ttl_update: true
user_identity_field: email
# refresh_token_class: App\Entity\JwtRefreshToken
Answer the question
In order to leave comments, you need to log in
I repeated your steps on a clean install. Everything works fine.
1. Try clearing the cache: rm -rf var/cache.
2. Symfony has several commands for debugging such errors:
$ bin/console debug:config
$ bin/console debug:config gesdinet_jwt_refresh_token
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question