On Tue, Sep 1, 2020 at 2:49 PM Prashant K <[email protected]> wrote:

> Here:
>
>
> http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/guacamole-auth-json-Questions-td3214.html
>
>
>
> Mike you replied in above thread:
>
> If you mean you are providing JSON like:
>
>
>
> {
>
>     'username' : 'foo',
>
>     'password' : 'bar
>
> }
>
>
>
> this is not working because it is invalid. There is no password property:
>
>
>

You are confusing JSON authentication module properties with connection
parameters.  You would do something like this:

 {
        "username" : "administrator",
        "expires" : "1599764011",
        "connections" : {
            "SQLDB" : {
                "protocol" : "rdp",
                "parameters" : {
                    "hostname" : "10.9.31.85",
                    "ignore-cert" : "true",
                    "port" : "3389",
                    "username" : "windowsuser",
                    "password" : "SuperSecretPassword"
                }
            }
        }
    }

The first "username" field is the username for Guacamole; the second
username field and matching password field is the connection parameter.
Guacamole username is not the same as the connection username/password.

-Nick

>

Reply via email to