I found that it does not work with the LDAP extension as it needs an extension being able to save data.
Another extension must be installed which supports storage of arbitrary data from other extensions. Currently the only extensions provided with Guacamole which support this kind of storage are the database authentication extensions.
https://guacamole.apache.org/doc/gug/totp-auth.html#totp-prerequisites
I think it’s not on a vhost. Do you want to be able to run it on a vhost? I could add a switch but I don’t know if we can go without /guacamole
path.