Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug | Symfony 5.4 security with deprecated layer is not working #1838

Closed
stloyd opened this issue Dec 8, 2021 · 1 comment · Fixed by #1839
Closed

Bug | Symfony 5.4 security with deprecated layer is not working #1838

stloyd opened this issue Dec 8, 2021 · 1 comment · Fixed by #1839

Comments

@stloyd
Copy link
Collaborator

stloyd commented Dec 8, 2021

Q A
Bug? yes
New Feature? no
Support question? no
Version 2.x

'Unfortunately' should Symfony 5.4 accept both types of security configs. with enable_authenticator_manager = true and false.

Old style is deprecated but usable. According this lines in symfony/security-bundle would be not better to split both factories together?

P.S. Probably on Symfony 5.4 ConnectControllerTest must be running twice with an 'old' and 'new' security configs.

Originally posted by @gassan in #1835 (comment)

@gassan
Copy link
Contributor

gassan commented Dec 9, 2021

All test are now done. (also with ENV USE_NEW_SYMFONY_SECURITY=1)

but on my project (php7.4, symfony 5.4 and enable_authenticator_manager: true) I have error:
The service "HWI\Bundle\OAuthBundle\Controller\ConnectController" has a dependency on a non-existent service "hwi_oauth.account.connector".

will try to get same error in tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants