Hi, I have been having issues with TOTP generation being broken after a while of installation. I Have checked logs and helthcheck with no issues that seem to relate to the TOTP.
Hello @rab_media , welcome to the forum!
When you say: “Having issues with TOTP generation being broken” what does it means exactly?
- You are having error when creating a TOTP ? → Can you share the outputs/screenshots?
- The TOTP is not working after the creation ? → Can you ensure that both server and client are time synchronized since TOTP are time-based?
- You can’t create a TOTP at all ? → Can you share screenshots of the “Create button” on the password workspace?
Also, are you running the latest version (5.1.0) ?
Hello,
Often TOTP error come with time issue, server and device are well sync with ntp ?
Best regards
This was a bit weird for me. I wasn’t expecting it to rely on the client (browser, OS) date, but on the server date. I checked the server date, I checked that ntp was installed and running properly, but it took me a while to figure out that my own computer’s time was off, and that fixed it.
So, yeah, there you go. You have to locally have the correct time for it to work, just the server time is not enough. This applies to TOTPs generated from both the web UI and the Chrome extension.