-
Notifications
You must be signed in to change notification settings - Fork 114
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
Security manager update #292
base: v3.x
Are you sure you want to change the base?
Conversation
Fix casing of OAuth2AuthenticationFailedException
Merge v3.x into master
Merge v3.x into master
Remove deprecated code
Decoupled models from managers
Hey, I wanted to now if anything will be happening on this PR or it will be in short time merged to release branch? |
Any news (or help needed) regarding this PR? |
@hafkenscheid help would be great, especially with testing in different environments of Symfony, e.g. with and without using the new authenticator system |
With Symfony 6 due this month, the old guard authenticators will disappear. This PR (or something like it) will need to be merged for oauth2-bundle to work with Symfony 6. |
ETA for accepting this pull request? |
We have been testing today with symfony 5.2.14 and symfony 5.3.12, both with the old security system. The good news is that the old security system seems still fine, but we cannot get this to work with the new authentication system on symfony 5.3.12. How is it supposed to be implemented in security.yaml? We tried adding |
We succeeded implementing this in SF5.3.12 using the new security system. Will continue testing. |
great news |
Managed to get it working on SF5.4.0. Still many deprecations:
|
Thanks for testing all of this. |
I would like some feedback from the maintainers by now though. To make sure another PR is not already taking care of the deprecations in 5.4 |
@ricohumme Thanks for the PR. You've targeted the v3 branch with this PR, but it looks like you've originally branched from master so there's a bunch of breaking changes in the diff here that were commited to master and which were never supposed to be in v3. So either you wanted your changes to go into master and you've picked the wrong target branch for this PR or you actually wanted to make this PR to target v3 and you've just branched off from the wrong branch. Please fix this so that the PR diff is not such a mess so that the PR can actually be reviewed. On the other hand the general status of this bundle is that it's (semi)abandoned as we've decided with the Symfony/PHP League guys to move it under their umbrella for better visibility/maintenance -> so https://github.com/thephpleague/oauth2-server-bundle was created. As soon as version 1.0 of that bundle gets tagged we'll probably officially abandon this bundle so I encourage you to upgrade to that bundle instead (that bundle already got support for the new authentication manager stuff as well as Symfony 6 support). TLDR; The PR diff is currently messy and I'm not sure if it's actually worth it to fix it as active development switched over to the new Symfony PHP League bundle, especially if this PR ends up having breaking changes as there are no plans currently to tag a v4 release. |
Aah, we were not aware of this move, otherwise we would have started using/testing/contributing there. |
Maybe you have to add update of the readme file so people can know that there are a new repository. |
@X-Coder264 I've created #304 for you to reflect this project's status and future plans |
This PR enables users wanting to use the authentication manager introduced in Symfony 5.3.
Tests are as of yet failing due the fact I'm unaware how to do this because this feature is enabled via a config setting in the symfony security component.
If anyone is aware of such methods, please enlighten me.
This fix can be applied for:
#291, #289, #286 and #249