We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 340ec5f commit 132fefaCopy full SHA for 132fefa
cookbook/security/api_key_authentication.rst
@@ -128,6 +128,11 @@ will cause authentication to fail. You might want to return ``null`` instead
128
to just skip the authentication, so Symfony can fallback to another authentication
129
method, if any.
130
131
+.. tip::
132
+
133
+ In case you return ``null`` from your ``createToken()`` method, be sure to enable
134
+ ``anonymous`` in you firewall. This way you'll be able to get an ``AnonymousToken``.
135
136
2. supportsToken
137
~~~~~~~~~~~~~~~~
138
0 commit comments