Make it possible for an admin to disable 2FA for some users

I have a some “system” accounts for which I (as an admin) would like to disable 2FA.

This is especially relevant for accounts that are logged in once and for all for some automated task. For those accounts the periodic renewal is very awkward.

2 Likes

Additional use case for an optional 2FA:

  • I have an existing app that doesn’t have 2FA on users
  • Adding 2FA basically forces all users to set it up immediately or they can’t get into their accounts. For those who are not tech savvy, this has resulted in a lot of calls and I don’t want to do that for my next app.
  • I want to let users set it up as an option. This would probably have to be a set of functions within anvil.user that I would use in my app’s workflow for this kind of setup.