Logout Triggers
A logout trigger is a simple HTTP GET
request that is
sent to a specified URL when the user logs out from
CUE. It
provides a mechanism for integrators to automatically perform other
actions (such as logging out of a VPN) on logout from
CUE.
You can define multiple logout triggers. In this case, a
GET
request will be sent to each specified URL when
the user logs out.
The CUE logout process does not wait for any response from the defined trigger URLs – it simply makes the requests and then performs the logout operation.
To define logout triggers:
-
If necessary, switch user to
root
.$
sudo su -
Open
/etc/escenic/cue-web-3.3/config.yml
for editing. For example:#
nano/etc/escenic/cue-web-3.3/config.yml
-
Add a
logoutTriggers
property containing a list of trigger URLs to whichGET
requests are to be sent:logoutTriggers: - http://my-vpn-service/logout - http://my-other-service/logout
-
Save the file.
-
Enter:
#
dpkg-reconfigure cue-web-3.3This reconfigures CUE with the changes you have made.