Closed pavrip closed 4 years ago
First, every documentation you're reading and code you're using is written in someones free time. I see no reason to add such an aggressive tone to your issue if you're having some trouble using it. Please consider talking more respectfull and calm the next time.
If you're new to to framework, I would strongly suggest to learn the current security system first. The new system is the old concepts + some changes, so it does require learning the current concepts first. Also, there is a lot more (and lot less vague) documentation about the current system. It also seems like some other parts aren't using default config or aren't set-up correctly (e.g. missing the App\Security\ApiKeyAuthenticator
).
I would recommend you to start learning the basics (see the Getting Started guides) and maybe follow some SymfonyCasts tutorials before diving deep into security. And be patient with yourself, learning Symfony can take a lot of time. I think you're maybe skipping a bit too much. E.g. "where are those exceptions documented?" is explained in the same sentence you're quoting: "The new system is backwards compatible with the current authentication system, with some exceptions that will be explained in this article: followed by a list of all exceptions".
I'm going to close this issue as there doesn't seem to be anything actionable. Please use any of the support channels found on https://symfony.com/support (OSS channels at the left) for user support and open issues on GitHub if there are concrete things to improve/too vague.
Just started learning Symfony this week, Its taken all week, Although I like the framework, the only thing that has been disappointing is the not so well organised documentation.
Decided to try the new "experimental" security but its causing issues.
Going as per documentation here: https://symfony.com/doc/current/security/experimental_authenticators.html#authenticators-removed-authentication-providers
`First I have added the manager: security:
5762 Adding new manager:
`
I apologise for the comments, this is a dummy project so its scattered with comments, Now first when I enable the manager, it throws an exception when the anonymous option is there, and then when I disable it Symfony says: c I thought I would try the make:auth command to build all the classes, but that does not even work and the same exception is thrown in the command line,
I want to try the new version but its just complicated, It says this is experimental and is backwards compatible with some exceptions, WHERE ARE THOSE EXCEPTIONS DOCUMENTED?
php bin/console make:auth //throws:No authentication listener registered for firewall "main". exception