-
-
Notifications
You must be signed in to change notification settings - Fork 553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bad Code error with new OTP #4506
Comments
Tested with a locally created user and this is not an issue. so seems its only with oauth users? |
Have you checked what the apache log contains? |
Hi @nilsteampassnet Checked and nothing appears in the logs. I just get bad code on screen. I have ensure that i have put in the code given when generating new keys but never work. All AzureAD users are able to log in. However, they get the Account in Construction message, which never disappears. As reference by jhumphries in #4440 (second to last post), when trying to generate new keys and using them, it get the bad code error. If i create the user locally in teampass, then I do not experience this issue. |
so i just found something. It seems that the column "is_ready_for_usage" in the teampass_users table, for my oauth2 users stays at 0. I changed it to 1 and the Account in Construction has now disappeared. |
Steps to reproduce
Expected behaviour
OTP should be accepted
Actual behaviour
Bad Code error
Server configuration
Operating system: Alpine Linux
Web server: Nginx
Database: MySQL 8
PHP version:
Teampass version: 3.1.2.172
The text was updated successfully, but these errors were encountered: