skoruba / IdentityServer4.Admin

The administration for the IdentityServer4 and Asp.Net Core Identity
MIT License
3.56k stars 1.15k forks source link

Force Two Factor Authentication? #734

Open woeterman94 opened 3 years ago

woeterman94 commented 3 years ago

Is there a way to force all users to setup Two Factor Authentication?

skoruba commented 3 years ago

When do you want to force 2FA? Can you please describe your scenario?

woeterman94 commented 3 years ago

For extra security. Force all users to set-up two factor authentication when they register or login. (Similar like in outlook, office 365,...)

woeterman94 commented 3 years ago

Is this something that you would consider adding? We want to be able to force users to setup 2FA.

skoruba commented 3 years ago

Yes, I will consider to add it, but in the future. Right now I am working on migration IS4 to version 4. Or if you are interested in send a PR with this feature, you can for sure. 👍🏼