Documenting Problems That Were Difficult To Find The Answer To

Monthly Archives: July 2018

UK Government Gateway Supports TOTP/Google Authenticator

Well I use FreeOTP but it still works. Government Gateway wants you to install an HMRC app, but you can use Google Authenticator variants such as FreeOTP.

If you choose the HMRC app as your “backup” authentication option from Government Gateway it will show a QR code. This can be scanned directly into the FreeOTP app, if you want to know what the QR code contains then apt-get install zbar-tools, take a screen shot, and run:

me@myhost:~$ zbarimg /tmp/screenshot.png

You will want to make a safe copy of this QR image or the URL it represents in case you need to move that secret to another device for a 30 second TOTP code.