guacamole-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remco Klappe || Tetra <>
Subject Re: Logout from Guacamole
Date Tue, 18 Oct 2016 09:57:24 GMT
Thanks Mike! I'll have a look at this.


----- Oorspronkelijk bericht -----
Van: "Mike Jumper" <>
Verzonden: Dinsdag 18 oktober 2016 00:48:26
Onderwerp: Re: Logout from Guacamole

On Thu, Oct 13, 2016 at 8:14 AM, Remco Klappe || Tetra < > wrote: 

Hi everyone, 

Maybe a stupid question, but how can i invalidate a Guacamole session from another application?
In version 0.8.3 is used to call the logout-url, but this doesn't work anymore. 

Hi Remco, 

Just send a DELETE request to the ".../api/tokens/AUTH_TOKEN_OF_SESSION" endpoint beneath
wherever Guacamole is deployed. For example, if the auth token of the session is "7130237FBAAA8D4518A899DEB579AB0E798B566D1F8A06DB9345D778CE2D2782",
and your Guacamole instance is deployed to " ", then you would
issue an HTTP DELETE to "

This is actually what the web interface does internally when a user clicks logout:

You can see this happen yourself if you log in to Guacamole, open up your browser's dev tools,
go to the "network" tab, and look at the request sent when you click "Logout". 

- Mike 

View raw message