Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

May I ask how to obtain the UID after/#/client? #16

Open
goodsave opened this issue Apr 26, 2023 · 1 comment
Open

May I ask how to obtain the UID after/#/client? #16

goodsave opened this issue Apr 26, 2023 · 1 comment

Comments

@goodsave
Copy link

Test

May I ask how to obtain the UID after /#/client?

look forward to your reply, thank u so mach ~

@ludersGabriel
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants