guacamole-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Jumper <>
Subject Re: Extension hooking into log out
Date Mon, 02 Oct 2017 19:26:38 GMT
On Mon, Oct 2, 2017 at 12:22 PM, Colin McGuigan <> wrote:

> Currently, if you logout it removes your token from memory and redirects
> you
> to the main page.
> For an extension implementing SAML authentication, it would also be
> necessary to send a message to the identity provider telling it to discard
> its own token.
> However, there seems to be no way to hook into this event.  As best I can
> tell, /api/tokens handles it completely internally and does not shell out
> to
> any extension API.
As of a few days ago, there is such an API:

AuthenticatedUser and UserContext now both define an invalidate() function
which is invoked upon user logout:

You will need to build off git to leverage this.

- Mike

View raw message