casdoor / casdoor

An open-source UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform with web UI supporting OAuth 2.0, OIDC, SAML, CAS, LDAP, SCIM, WebAuthn, TOTP, MFA, Face ID, RADIUS, Google Workspace, Active Directory and Kerberos
https://casdoor.org
Apache License 2.0
9.2k stars 1.09k forks source link

How to enable TOTP for a user? #2950

Closed waterloo3122 closed 1 month ago

waterloo3122 commented 1 month ago

For the built-in admin user

image

Multi-factor authentication of Type app is editable:

image image

For a user I Created, Multi-factor authentication of Type app is not editable:

image
casbin-bot commented 1 month ago

@tangyang9464 @JalinWang @imp2002

hsluoyz commented 1 month ago

@leo220yuyaodog

leo220yuyaodog commented 1 month ago

@waterloo3122 The totp type MFA need to be set by user itselt. After all, an administrator cannot own a user's device code.

waterloo3122 commented 1 month ago

Thanks very much . One more question please, how to reset a user's mfa if a user lost his mfa device?