-
Notifications
You must be signed in to change notification settings - Fork 1
Home
2FA Codes is a widget that generates Time-based one-time passwords used for 2-factor authentication. It is compatible with Google Authenticator, Authy and other similar applications.
2FA Codes supports generating up to 10 one-time codes. Each code can have from 6 to 10 digits.
To add an MFA code, open Connect IQ app, find 2FA Codes application and open "Settings". You can enable any of 10 accounts. For each enabled account enter its name and a secret code. You can change the number of digits in the generated code and the time during which the code is active. Most authentication services use 6 digits and 30 seconds.
You can choose between two different hash algorithms to use: either SHA-1 or SHA-256. Default hash function is SHA-1. If you don't know what this is just leave it as is.
In the image below the parameters for one account are displayed on a darker background.
![](https://user-images.githubusercontent.com/278908/227723807-ef2793e2-0ce3-4957-a74c-d0e62b87d237.png)
Most of the Garmin watches of the last 3-4 years are supported.
If your watch supports live glances, you will see the last used code in the glances carousel
Select the glance and full-size widget will open, you can change between the configured accounts with Up and Down keys, swipes on the screen or cycle through the accounts with Start/Stop key.
If your watch supports glances, but not the live variation, you will see "2FA Codes", name only. Selecting it will open the same widget as described above.
If your device doesn't support glances then you will get the main widget in the widget carousel. On such devices Up and down keys are used to switch between widgets, so you will need to use the Start/Stop key to cycle through the configured accounts.
This section explains how to configure 2FA Codes for use with