You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -130,6 +130,26 @@ The following strategies are available:
130
130
* ``Firewall::STRATEGY_HELPDESK_ACCESS``: only users with access to the simplified interface can access your script;
131
131
* ``Firewall::STRATEGY_FAQ_ACCESS``: only users with a read access to the FAQ will be allowed to access your script, unless the FAQ is configured to be public.
132
132
133
+
Stateless endpoints
134
+
+++++++++++++++++++
135
+
136
+
By default, GLPI will automatically start the PHP session, and use a session cookie to share the current session ID
137
+
between web requests. If there is no active session, it will redirect the client to the login page.
138
+
This behaviour should be disabled for stateless endpoints, such as APIs endpoints.
139
+
To do this, you will need to call the ``\Glpi\Http\SessionManager::registerPluginStatelessPath()`` method from the ``boot`` hook of your plugin,
0 commit comments