Debian Codegraph @

doc/sources/admin/adminlogout.rst

raw
1 Administrative logout server
2 ============================
3
4 This plugin add an API to permit to revoke OIDC tokens and SSO sessions from
5 the session explorer: this permits Session-Explorer to launch logout plugins
6 including OIDC "Back-Channel-Logout".
7
8 Configuration
9 -------------
10 To enable it:
11 Go in Manager, ``General Parameters`` » ``Plugins`` » ``Admin logout server``.
12 You must set a shared secret.
13
14 Usage
15 -----
16
17 Session-Explorer automatically uses it when enabled. You can also use it to revoke
18 an ``access_token`` or a ``refresh_token`` if the ``revocation_endpoint`` isn't
19 usable in your case. Launch a ``POST`` request on ``/admintokenrevoke`` with a
20 ``Authorization: Bearer <secret>`` header and using the following parameters:
21
22 ============== =========== =========================================================================
23 Parameter Need Value
24 ============== =========== =========================================================================
25 ``token`` required token to revoke
26 ``token_hint`` recommended type of token to revoke: ``refresh_token`` or ``access_token`` or ``SSO``
27 ============== =========== =========================================================================