| 1 |
Global logout plugin |
| 2 |
==================== |
| 3 |
|
| 4 |
This plugin allows a user to log out of all his active sessions. |
| 5 |
|
| 6 |
Configuration |
| 7 |
------------- |
| 8 |
|
| 9 |
Just enable it in the Manager (section “plugins”). |
| 10 |
|
| 11 |
- **Parameters**: |
| 12 |
|
| 13 |
- **Activation**: Enable/Disable or set a rule to select which users |
| 14 |
are allowed to close there sessions. |
| 15 |
- **Auto accept time**: Enable/Disable timer. If timer is disabled, |
| 16 |
all opened sessions will be immediately closed. |
| 17 |
- **Custom parameter**: Session attribut to display at global logout |
| 18 |
|
| 19 |
|
| 20 |
.. note:: |
| 21 |
|
| 22 |
To display more than one session attribute, you can create a |
| 23 |
macro like this : |
| 24 |
|
| 25 |
``user_USER => "$uid_" . uc $uid`` |
| 26 |
|
| 27 |
|
| 28 |
Back-Channel Logout |
| 29 |
------------------- |
| 30 |
|
| 31 |
When GlobalLogout removes other active sessions, it triggers back-channel |
| 32 |
logout notifications to federated applications: |
| 33 |
|
| 34 |
- **OIDC Relying Parties**: Back-channel logout tokens are sent to RPs |
| 35 |
configured with ``oidcRPMetaDataOptionsLogoutType = back`` |
| 36 |
|
| 37 |
- **SAML Service Providers**: SOAP Single Logout requests are sent to SPs |
| 38 |
that support the SOAP binding |
| 39 |
|
| 40 |
- **CAS Services**: LogoutRequest messages are sent to services that have |
| 41 |
``casBackChannelSingleLogout`` enabled |
| 42 |
|
| 43 |
.. warning:: |
| 44 |
|
| 45 |
Front-channel logout (OIDC front-channel, SAML HTTP-Redirect/POST) |
| 46 |
**cannot work** for remotely-deleted sessions because the user's browser |
| 47 |
is not present. Only back-channel mechanisms are effective. |
| 48 |
|
| 49 |
The same mechanism applies to the SingleSession plugin when it removes |
| 50 |
concurrent sessions. |
| 51 |
|
| 52 |
.. note:: |
| 53 |
|
| 54 |
GlobalLogout only removes **SSO sessions**. OIDC offline sessions |
| 55 |
(refresh tokens obtained with ``offline_access`` scope) are **not** |
| 56 |
affected and will continue to work after GlobalLogout. |
| 57 |
|
| 58 |
This is by design: offline access tokens are meant to survive SSO |
| 59 |
session termination. Users can manage their offline tokens through |
| 60 |
the OIDC offline tokens plugin (``oidcOfflineTokens``) if enabled. |