On Thu, Jun 5, 2025 at 10:14 AM Tom Eaton <[email protected]> wrote:

> Hello all,
>
> I’ve been testing the JSON auth extension, and successfully created a URL
> that logs in the user and connects to the link described in the JSON.
>
> However, what I’m trying to achieve is that the link given to the user
> works for a short period, and any new links generated will take them to a
> new connection.
>
> Each JSON string has one connection in it to allow guacamole to load it
> immediately without going to a list of available machines.
>
> For example:
>
> Link 1 - JSON - connection to server 1.
> Link 2 - JSON - connection to server 2.
>
> However, Guacamole remembers the user session from the initial link and
> ignores the connection details in the new link.  Is there a way to override
> this behaviour so that whatever link the user clicks on it will take them
> to that specific connection?
>
>
Are you using the "expires" field in the JSON extension? I'm not sure that
this will achieve exactly what you want, but it is a way to make sure that
the JSON URLs only work for a certain amount of time. See:

https://guacamole.apache.org/doc/gug/json-auth.html#json-format

-Nick

Reply via email to