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

Enable to specify user_checker in firewall settings #478

Closed
GSokol opened this issue Sep 1, 2017 · 2 comments · Fixed by #660
Closed

Enable to specify user_checker in firewall settings #478

GSokol opened this issue Sep 1, 2017 · 2 comments · Fixed by #660

Comments

@GSokol
Copy link

GSokol commented Sep 1, 2017

In current realization the only symfony's system security.user_checker is provided to OS\OAuthServerBundle\Security\Authentication\Provider\OAuthProvider's container. It's rather trickiy to inject there the custom one for the certain firewall area.

@dioniswe
Copy link

Is there any concern in making the fix public?
I had the same problem trying to use the user_checker as proposed in https://symfony.com/doc/current/security/user_checkers.html
The configured user_checker does not get injected. Instead the default user checker is used
in vendor/friendsofsymfony/oauth-server-bundle/Security/Authentication/Provider/OAuthProvider.php
so checking for disabled users is not possible without the fix for non AdvancedUserInterfaces or more custom authorization checks

@deguif
Copy link
Collaborator

deguif commented Sep 21, 2020

It's now supported in master branch, see #660

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

Successfully merging a pull request may close this issue.

4 participants