Starts in:
1 DAY
20 HRS
27 MIN
41 SEC
Starts in:
1 D
20 H
27 M
41 S
Open Closed

Role based 2 factor auth #3790


User avatar
0
shobhit created
  • ABP Framework version: v4.2.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

how we can configure role level 2-factor authentication


3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you explain it in detail?

  • User Avatar
    0
    shobhit created

    Currently 2-factor can be enabled by host admin, tenant admin at tenant level or by user at user level. Do ABP have any provision to enable 2-factor for any particular role.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    1. You can customize the code to change the 2faof all users under the role when the role is changed.
    2. Or override the PasswordSignInAsyncmethod of SignInManager<IdentityUser> class and GetTwoFactorEnabledAsync of UserManager<IdentityUser>
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06