On Wed, May 7, 2025 at 3:24 PM Michael Jumper <mjum...@apache.org> wrote:
> On 5/7/25 12:21 PM, Michael Jumper wrote: > > On 5/7/25 8:56 AM, Raymond Yip wrote: > >> Test System: > >> I am using the Guacamole Docker container for 1.6.0 RC on Docker Hub. > >> Brand new Postgres database. > >> Also using the guacamole-auth-jdbc-postgresql-1.6.0.jar plugin with > >> both schema's applied, specifically 001-create-schema.sql and 002- > >> create- admin-user.sql. > >> Using TOTP from this link: https://dist.apache.org/repos/dist/dev/ > >> guacamole/1.6.0-RC1/binary/guacamole-auth-totp-1.6.0.tar.gz <https:// > >> dist.apache.org/repos/dist/dev/guacamole/1.6.0-RC1/binary/guacamole- > >> auth-totp-1.6.0.tar.gz> > >> > >> Reproducible: > >> I had tried to login with guacadmin/guacadmin and it asks to enroll in > >> TOTP with QR code. I scanned the QR code with Google Authenticator. > >> I logged out and logged back in. This time giving the resulting 6 > >> digit code I got back from Google Authenticator. > >> It says "Verification failed. Please try again." After giving the > >> correct code. > >> > >> Expected Behavior: > >> Log the user in. It seems to work fine with version 1.5.5 docker hub > >> release. > >> > > > > What environment variables are you setting for TOTP? > > > > Also, are you sure your system clock is synced? > > - Mike > > I just tested against the staging/1.6.0 branch and am not able to reproduce a failure - the TOTP extension appears to work fine for me. I am *not* using the Docker containers, though - just the native build. -Nick