Lemmy's initial implementation of 2FA is not that straightforward and users can easily lock themselves out of their accounts. Please be careful if you decide to enable 2FA.
I personally suggest avoiding 2FA for now until it's working more consistently. There are several feature requests to force 2FA code confirmation is working before it is enabled and those are a bare minimum before this feature is functional.
If your account is locked out due to 2FA issues, please email [email protected] and include 2FA Lockout in your email subject.
2FA Setup Process
DO NO LOG OUT AT ANY POINT DURING THIS PROCESS UNTIL AFTER YOU'VE VERIFIED THAT YOUR 2FA KEYS WORK VIA STEP #8!
-
Click your Username in the top right of the site and select Settings.
-
Scroll to the bottom of the page and check the Set up 2-factor authentication box.
-
You should see the following alert pop up at the bottom of the screen:
![](https://citizensgaming.com/pictrs/image/39c1291d-352e-4aad-bd64-2748ec96f833.png)
-
The page will not automatically refresh. You will need to refresh it manually.
-
After a page fresh, you will see a new button at the bottom of Settings:
![](https://citizensgaming.com/pictrs/image/34c701c3-415d-417a-a661-c54175fa44fd.png)
-
Clicking on this link does nothing. You need to right-click and copy the link to get your OTP secret key. Your clipboard should now have a URL in it that looks like this: otpauth://totp/Citizens%20Gaming:Test?secret=THISWILLBEWHEREYOURSECRETKEYWILLBE&algorithm=SHA256&issuer=Citizens%20Gaming
-
Depending on the app you use, you'll either need to paste the entire URL, or just the secret key, into the manual setup fields of that app.
-
Open an incognito browser and attempt to log into your account. You should be prompted for your 2FA code during login. If it works, you're good to go.
-
If 2FA is not allowing you to log in, go back to your main browser window and disable 2FA via the Settings page. Wait for updates and try again in a few months.
2FA Apps That Should Work
Android
- Oracle Mobile Authenticator
- Auth0 Guardian
- Sophos Authenticator
- FreeOTP Authenticator
- Google Authenticator
- 1Password
iOS
- Oracle Mobile Authenticator
- IBM Verify
- Sophos Authenticator
- FreeOTP Authenticator
Apps that appear to not support SHA-256
- Microsoft Authenticator
- LastPass Authenticator
- Duo Mobile
- Authy
- 2FAS Auth