symfony
symfony copied to clipboard
Invalid definition for service "Auth0\Symfony\Controllers\AuthenticationController":
Checklist
- [X] I have looked into the Readme and have not found a suitable solution or answer.
- [X] I have searched the issues and have not found a suitable solution or answer.
- [X] I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- [X] I agree to the terms within the Auth0 Code of Conduct.
Description
When I run following command :
APP_ENV=dev php console lint:container
I have this error:
[ERROR] Invalid definition for service "Auth0\Symfony\Controllers\AuthenticationController":
"Auth0\Symfony\Controllers\AuthenticationController::__construct()" requires 3 arguments, 2 passed.
Reproduction
- composer req auth0/symfony
- add on bundle on
bundles.phpfile - run the commade
php bin/console lint:container
Additional context
No response
jwt-auth-bundle version
5.2.3
Symfony version
6.4
PHP version
8.3
@evansims any chance you can approve/merge this PR?
Is there a way I can manually apply this patch to my installation?
@edent you can try switching over to elvi/auth0-symfony for now, which is the fork of this repository but with the open PRs merged in. Let's hope this official bundle catches up with the world eventually and we can all come back to use it again.
The fix has shipped as part of 5.3.0; thanks for your work on this, as well as your other contributions, @mkilmanas. Much appreciated!