Check which users are using two factor TOTP?

Is there a way I can check which users currently have two factor TOTP turned on? in GUI or with the api?
We are currently not enforcing.

I think not. Maybe it is possible to find something in the Nextcloud database (MariaDB, PostgreSQL, …) But there is an issue.

You can enforce 2FA for user groups. Maybe this is helpful.

1 Like

I thought there was a way to check in occ. I don’t have it in front of me at the moment.

1 Like

running this command will show which providers are active for specific user occ twofactorauth:state <uid>

https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html#two-factor-auth-label

2 Likes