TeamPass icon indicating copy to clipboard operation
TeamPass copied to clipboard

2FA field not showing on login prompt when using Google Chrome

Open araujorm opened this issue 3 years ago • 1 comments

Steps to reproduce

  1. Open your teampass website (after having configured 2FA) using Google Chrome

Expected behaviour

An image with a laptop and a cellphone, as well as an additional field asking for the "Identification code", should appear below the username, password and session duration fields.

Actual behaviour

Said image and the "Identification code" do not show when using Google Chrome. If you further try to login, you get "Caution The Google Authenticator code is wrong".

They appear and work as expected using Firefox.

Server configuration

Operating system: Rocky Linux 8

Web server: Apache 2.4.37-47

Database: MariaDB 10.3.35-1

PHP version: php-fpm-7.4.19-4

Teampass version: Latest master ( a798c9dc9184b5b14184c93c898d727b6418f1e1 at the time of writing )

Teampass configuration file: -

Updated from an older Teampass or fresh install: -

Client configuration

Browser: Google Chrome, multiple versions (including latest)

Operating system: Verified both on Windows and Linux

Logs

Web server error log

Log shows no errors (both php-fpm and apache error.log) when opening the site

Log from the web-browser developer console (CTRL + SHIFT + i)

When opening the site, during which the 2FA field and image should be shown but they aren't, the console produces nothing. After attempting to login:

User starts auth
(index):2450 Get 2FA Methods answer:
(index):2574 Session existance check:
(index):2588 Identification answer:

araujorm avatar Oct 11 '22 14:10 araujorm

Additional info: the 2FA activated and with which the problem exists is the usual TOTP / Google Authenticator one.

araujorm avatar Oct 11 '22 14:10 araujorm

Confirm - have same issue. But in same time, in incognito mode 2FA field is visible

AKorolkovs avatar Mar 29 '23 16:03 AKorolkovs