[Solved] how to reset the TOTP secret when locked out of Guacamole

  1. Turn off the extension, by removing the env variable (or just temporarily rename it).
  2. Restart the stack.
  3. Now that the TOTP is disabled, you should be now able to log in with only user name and password.
  4. Log in and create a new temp user.
  5. Turn on the auth-totp extention by re enabling the env variable.
  6. Log in with the new user and you will also notice you need to set up the 2fa for that user.
  7. Edit the user who cannot log in and check the box to reset their totp secret.
  8. Now try and log in as normal. You should be asked to set up the 2fa and hopefully all set 😎

For reference, im using the abesnier/guacamole image.


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *