8000 [Security] Make security.providers optional · Issue #9660 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[Security] Make security.providers optional #9660

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

Closed
javiereguiluz opened this issue Apr 22, 2018 · 1 comment
Closed

[Security] Make security.providers optional #9660

javiereguiluz opened this issue Apr 22, 2018 · 1 comment
Labels
hasPR A Pull Request has already been submitted for this issue. Security
Milestone

Comments

@javiereguiluz
Copy link
Member

symfony/symfony#26787

It's useful in cases like symfony/symfony#21998:

I use custom authentication which stands on tokens without users. Therefore, I don't use UserProvider. But configuration loader requires me to provide at least one user provider.

Please make user provider optional. When some component asks for user from user provider, it should crash, so I know there is something wrong.

@javiereguiluz javiereguiluz added this to the 4.1 milestone Apr 22, 2018
@javiereguiluz javiereguiluz added the hasPR A Pull Request has already been submitted for this issue. label May 27, 2018
javiereguiluz added a commit that referenced this issue May 27, 2018
…no longer mandatory (javiereguiluz)

This PR was merged into the 4.1 branch.

Discussion
----------

Update the security reference because user providers are no longer mandatory

This fixes #9660.

Commits
-------

6be7971 Update the security reference because user providers are no longer mandatory
@javiereguiluz
Copy link
Member Author
66A5

Fixed by #9828.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hasPR A Pull Request has already been submitted for this issue. Security
Projects
None yet
Development

No branches or pull requests

1 participant
0