Two factor authenticator is missing Google option

SYSTEM INFORMATION
OS type and version Ubuntu 22.04
Webmin version 2.303

Hello!

I am trying to enable two factor authenticator and from the forums I saw that there was support for Google Authenticator, but this options is missing from the list. There is only TOTP and Authy.

Did you drop the support or is something missing from my system?

Thank you

You can use any app that is capable of handling 2FA, doesn’t need to be a specific one.

Nothing is missing from your system, this has been made a bit agnostic in the past two or three versions of Virtualmin. As @Steini said, you can still use the Google Authenticator app if you prefer it over the other options which are now available.

Google authenticator uses TOTP, just use that.

Its in the help section.

Microsoft Authentication also uses TOTP.

That might be a small bug that the description has not been updated.

I just love the TOFU authenticator app… : )

I never saw the help section, I relied on the information and photos I found in searches.

Thank you all for your responses!

Hi again!

I just try the two factor authentication and it works as expected if I enter the code manually, but the qr image is not displaying. What can I do about that?

You should open the browser’s console and check for errors.

Unfortunately there are no errors on console. Should I check somethni else?

Maybe the following error?

https://chart.googleapis.com/chart?
(failed) net::ERR_BLOCKED_BY_ORB

@hubitgr You should install qrencode package.

@Jamie, we should completely remove this outdated and non-functional Google APIs link.

Yeah if that Google API doesn’t work anymore, we should just show an error if neither qrencode or the Image::PNG::QRCode Perl module is installed.

Or better still, we could use another web API for generating QR codes, like QR code API

Agreed! I have reviewed their privacy policy, and it seems quite solid. I have made a change for the next Webmin release to use it as a fallback solution.

Awesome thanks! For reference, what was the commit for that?

Here it is, Jamie:

Awesome thanks!

You’re very welcome!

Thank you all! It works.