Open micromort opened 1 year ago
I cannot reproduce. But what do you mean with sentence "Trying to login without a local user with the same username results in a credential error. " DUO auth is quite complexe, could you record the whole auth process to see what is going on?
If you try to login to TeamPass with a DUO 2FA username and password, TeamPass will give the credential error without checking DUO 2FA. So there is no way to login with a DUO authenticated username if there is no local teampass user with the same username. But then the password TeamPass generates for the local user won't match the DUO authenticated user password, thus the issue. Does that make sense?
This is in relation to https://github.com/nilsteampassnet/TeamPass/issues/3361 - but I am unable to reopen that issue.
Steps to reproduce
Expected behaviour
What should happen is the user is able to login to TeamPass with their DUO credentials
Actual behaviour
Trying to login without a local user with the same username results in a credential error. After creating a local user with the same username, the DUO 2FA credentials do not work due to the automatic password generated by TeamPass.
Perhaps there is a setting in the admin console that I am not aware of?
Server configuration
Operating system: Debian 10
Web server: Apache 2.4.38
Database: Mariadb - mariadb-server ver 1:10.3.36
PHP version: php 7.3
Teampass version: 3.0.0.20
Updated from an older Teampass or fresh install: Fresh install
PLEASE attach to this issue the file
/includes/config/tp.config.php
.Client configuration
Browser: Chrome v. 107.0.5304.123
Operating system: Windows 10
Logs
Log from the web-browser developer console (CTRL + SHIFT + i)