Greetings, there are some problems I encountered in layered ABP solution:
- I need to disable email and phone number providers in 2FA and leave only TOTP provider functional, ie. I need to make it so that users can enable TOTP provider without verifying phone number or email. How can I achieve that? Please provide detailed instructions.
- And I need to make it so force behavior in 2FA works with TOTP, i.e when 2FA behavior is set to force, I need the app to redirect the user to Two Factor Authentication page at "/Account/Manage" and so the user is not able to log in without enabling TOTP app. Please give me detailed instructions on this as well.
29 Answer(s)
-
0
-
0
And there is another problem, when I override and enable 2FA tab in /Accounts/Manage Page manually with: " Configure<ProfileManagementPageOptions>(options => { options.Contributors.RemoveAll(x => x.GetType() == typeof(AccountProfileManagementPageContributor)); options.Contributors.Add(new MyAccountProfileManagementPageContributor()); }); ", the tab is duplicated, i.e there are two 2FA tabs, here is the screenshot:
-
0
hi
Hi, can you please help me with disabling error message "You have to enable at least one two factor provider to enable two factor!" which appears when user enables 2FA in /Accounts/Manage page without verifying email or phone, here is the screenshot:
You can add a valid authenticator, then enable 2FA.
Thanks.
-
0