guacamole-rest-api-documentation
guacamole-rest-api-documentation copied to clipboard
May I ask how to obtain the UID after/#/client?
May I ask how to obtain the UID after /#/client?
look forward to your reply, thank u so mach ~
found it how to do it here: https://gist.github.com/atomlab/376901845c3d474d1e60e6b7a3affaae
basically its a bas64 encoding of some info
/*
The necessary information is indeed there - you just need to know how to generate the URL. The base64 bit after ".../guacamole/client/" in the URL of a connection is built from the following information:
The connection identifier (in MySQL / PostgreSQL, this will be the connection ID)
The type ("c" for connections and "g" for balancing groups)
The identifier of the auth provider storing the connection data (usually "postgresql", "mysql", or "ldap" - in your case the correct value would be "mysql")
*/
// printf '2\0c\0postgresql' | base64