TeamPass icon indicating copy to clipboard operation
TeamPass copied to clipboard

First Time User - "In Progress" - No QR Code Generated

Open riharvey414 opened this issue 9 months ago • 6 comments

Steps to reproduce

  1. Create new user
  2. Generate MFA code from Admin Console
  3. Login w/ username, password, and one-time Google Auth code

Expected behaviour

New User - First time login w/ MFA Generate Google Auth Code

Actual behaviour

Page just spins on "Loading" image

Server configuration

Operating system: Red Hat Enterprise Linux 9.3 (Plow

Web server: Apache/2.4.57 (Red Hat Enterprise Linux)

Database: Ver 8.0.36 for Linux on x86_64 (Source distribution)

PHP version: PHP 8.3.6 (cli) (built: Apr 10 2024 14:21:20) (NTS gcc x86_64)

Teampass version: image

Teampass configuration file:

Updated from an older Teampass or fresh install: PLEASE attach to this issue the file /includes/config/tp.config.php.

Client configuration

Browser: Chrome

Operating system: Version 124.0.6367.92 (Official Build) (64-bit)

Logs

Web server error log

Insert your webserver log here

[30-Apr-2024 09:33:29 America/New_York] PHP Fatal error: Uncaught TypeError: RobThree\Auth\Providers\Qr\QRServerProvider::getQRCodeImage(): Return value must be of type string, false returned in /var/www/html/ teampass/vendor/robthree/twofactorauth/lib/Providers/Qr/QRServerProvider.php:36 Stack trace: #0 /var/www/html/teampass/vendor/robthree/twofactorauth/lib/TwoFactorAuth.php(120): RobThree\Auth\Providers\Qr\QRServerProvider->getQRCodeImage() #1 /var/www/html/teampass/sources/identify.php(1659): RobThree\Auth\TwoFactorAuth->getQRCodeImageAsDataUri() #2 /var/www/html/teampass/sources/identify.php(2377): googleMFACheck() #3 /var/www/html/teampass/sources/identify.php(355): identifyDoMFAChecks() #4 /var/www/html/teampass/sources/identify.php(130): identifyUser() #5 {main} thrown in /var/www/html/teampass/vendor/robthree/twofactorauth/lib/Providers/Qr/QRServerProvider.php on line 36

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


{GACode: 'jJwfngvQ3YNC', login: 'tester', pw: 'j5EReNZBXkaNzMtLF3gE', duree_session: '60', screenHeight: 640.969, …}

       
POST https://teampass.upstate.edu/teampass/sources/identify.php 500 (Internal Server Error)
send @ jquery.min.js:2
ajax @ jquery.min.js:2
S.<computed> @ jquery.min.js:2
identifyUser @ index.php:2913
(anonymous) @ index.php:2903
c @ jquery.min.js:2
fireWith @ jquery.min.js:2
l @ jquery.min.js:2
(anonymous) @ jquery.min.js:2
load (async)
send @ jquery.min.js:2
ajax @ jquery.min.js:2
S.<computed> @ jquery.min.js:2
launchIdentify @ index.php:2786
(anonymous) @ index.php:2351
dispatch @ jquery.min.js:2
v.handle @ jquery.min.js:2

riharvey414 avatar Apr 30 '24 13:04 riharvey414