Unable to generate backup codes for Two Factor authentication here on NodeBB
-
I enabled two factor authentication here on community.nodebb.org. The association to my 2FA app works fine but I am unable to create backup codes. I tried with Authy, FreeOTP and Google Authenticator.
Is this a known bug with the current NodeBB and Two-Factor plugin?
-
I have re-tested this and do believe there is a problem with the current version of NodeBB and the 2FA plugin.
Here on community.nodebb.org I am unable to generate backup 2FA codes. When I test this on my
v1.0.2
NodeBB forum I am able to create 2FA codes. It seems that the problem is not dependent upon which 2FA app I use.Would someone else who is using two factor authentication on this site please generate (or re-generate) their backup codes and see if after pressing the button to have them created they actually display on the screen. For me I press the button, my notification bell alerts but no codes are displayed to be copied.
Thank you.
-
I can confirm. I tried generating codes for this community and got an alert, but no codes were shown and the notification just links to the homepage. I also tried on the v1.1.2 (SHA fdd85140587799a442edb9f3ca1b8ecaf4ea0bb9) and I wouldn't even get a notification @julian
-
Seems to be working again! What was the issue?
-
Just a breaking change in NodeBB core, it looks like
Unable to generate backup codes. 路 Issue #17 路 NodeBB/nodebb-plugin-2factor
I've not been able to get the time to test this fully but since the update a few days ago I cannot generate backup codes.
GitHub (github.com)