I go to Settings, check the “Set up 2-factor authentication” box, click Save, reload the page, but clicking on “2FA installation link” does nothing. I tried copying the “secret” value from the link and using it to manually add an account in my 2FA app (Authy) but that doesn’t seem to work. The account gets added, but the codes it generates don’t seem to work for logging in (using a different browser).

I really don’t want to lock myself out. Am I doing something wrong, or is this a known issue?

You are viewing a single thread.
View all comments
1 point

My experience: Beehaw/Lemmy is using a SHA256 hash for the secret key. A lot of 2FA apps only support SHA1. So you’ll need to find one that supports SHA256. I used Google Authenticator. I thought I also saw that Microsoft Authenticator works too. Storing in Bitwarden doesn’t work.

Good luck.

I would definitely do all my testing in private browsing or another browser while leaving a browser window logged in to disable 2FA should you need to.

permalink
report
reply
2 points

I have Bitwarden. Don’t have an issue. What issue did you run into?

permalink
report
parent
reply
2 points

Storing the secret key inside bitwarden produced incorrect codes. Due to Bitwarden only supporting SHA1 while Lemmy/Beehaw using SHA256.

permalink
report
parent
reply
3 points
*

I just checked the 2FA codes stored in my Bitwarden. Ends with algorithm=SHA256&issuer=Beehaw. Also logged out and logged in again before posting this comment.

Don’t think SHA-256 is the issue.

One usual cause of incorrect 2FA codes is incorrect system time. You can use https://time.is/ to see if that’s the case.

permalink
report
parent
reply

Beehaw Support

!support@beehaw.org

Create post

Support and meta community for Beehaw. Ask your questions about the community, technical issues, and other such things here.

A brief FAQ for lurkers and new users can be found here.

Our September 2024 financial update is here.

For a refresher on our philosophy, see also What is Beehaw?, The spirit of the rules, and Beehaw is a Community


This community’s icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.


 

Community stats

  • 14

    Monthly active users

  • 374

    Posts

  • 5.5K

    Comments