oneuptime
oneuptime copied to clipboard
2FA/Two Factor Auth based on TOTP Cant Be Verified
I'm trying to add Two Factor Auth for my accounts on Oneuptime.com and OneUptime on Premise but it still won't verify.
To Reproduce Steps to reproduce the behavior:
- Go to 'User Profile'
- Click on 'Two Factor Auth'
- Create Two Factor Auth and put name on it
- Scan QR Code using Microsoft Authenticator or Another TOTP Client
- Try to Verify and and got invalid code
Expected behavior Get Verified on Two Factor Authentication
Screenshots
Desktop (please complete the following information):
- OS: [Windows]
- Browser [Chrome
- Version [127.0.6533.89 ]
Deployment Type This issue appear on SaaS (at https://oneuptime.com) and self hosted on version 7.0.2928
today I found the solution, I tried using another TOTP Client such as Microsoft Auth, Authy and Google Auth.
Surprisingly Google Auth gives a different OTP code from other TOTP Clients, I don't know why this happens, after I tried to verify it with the OTP from Google Auth, it was finally verified by OneUptime
So the solution to this problem currently is to use GOOGLE AUTH
Sorry I need to Reopen This Issue, i found something wrong again. After i Verify and Activate the 2FA i cant login to my account, its look like this, lucky me because I used it on a dummy account, imagine if i use 2FA on Admin Account
This is fixed. Thank you for reporting. Will be released today. https://github.com/OneUptime/oneuptime/commit/cc432dfa1c9e06c270173c578f53112136d5e92f