SenseNet / sensenet

Open Source Content Services Platform written in .NET
https://sensenet.com
GNU General Public License v2.0
173 stars 112 forks source link

2FA multifactor authentication backend #1904

Closed tusmester closed 1 year ago

tusmester commented 1 year ago

Implement multi-factor authentication backend in sensenet.

Admin UI and IdentityServer parts of the feature are in a separate issue.

Switching ON/OFF and regenerate

When a user or an admin switches the per-user switch:

The per-user switch is only for the user. If a global/local setting is set to Forced, the user switch is ignored and 2FA is required.

Recommended package: https://github.com/BrandonPotter/GoogleAuthenticator Implementation: https://dotnetthoughts.net/how-to-implement-2fa-with-aspnet-core-without-identity/