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 276b0e3 commit 1af9997Copy full SHA for 1af9997
reference/configuration/security.rst
@@ -302,6 +302,7 @@ Each part will be explained in the next section.
302
provider: ~
303
parameter: _switch_user
304
role: ROLE_ALLOWED_TO_SWITCH
305
+ stateless: false
306
307
access_control:
308
requires_channel: ~
security/impersonating_user.rst
@@ -66,6 +66,11 @@ firewall listener:
66
),
67
));
68
69
+.. tip::
70
+
71
+ For using the ``switch_user` listener in a ``stateless`` firewall, set the
72
+ ``switch_user.stateless`` option to ``true``.
73
74
To switch to another user, just add a query string with the ``_switch_user``
75
parameter and the username as the value to the current URL:
76
0 commit comments