-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enforce two-factor auth UX issues #12249
Comments
GitMate.io thinks possibly related issues are #6673 (Issue because enforcing security header), #11317 (Two Factor Auth Preventing User First Login (Default Install)), #11455 (Add ability to enforce two-factor authentication), #10634 (Two factor authetication is enforced even if no provider is active), and #1415 (Two-factor auth: Exclude internal networks). |
Thanks @schiessle 😸
Should be (and at least it behaves like this in my testing) that the user has enforced twofactor if he is in one of this groups ... and I think that makes most sense :)
We could solve this by showing an overview about the users 2FA status in the user-settings (see GitHub organization-settings) ... GitHub is a positive example of 2FA mandatory settings & behavior.
He should do
⬆ Like GitHub does ... if we want to have it more easy (for now) I could think of blocking those restriction for groups in which not everybody has 2FA enabled already. |
|
Btw, the admin interface even warned you: If they do not have a two-factor provider configured, they will be unable to log into the system. 🙈 |
@ChristophWurst @schiessle What is left here? Are all remaining issues opened as separate tickets? So we can close this one here. |
I think so, yes. |
Ref #12249 Ref nextcloud/documentation#937 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Just wanted to say, great improvements on this feature! 🎉 I trapped myself into forcing 2fa, while it was not configured for my admin account, so @schiessle was not the only one... 😬 Edit: Or least, that work has started on the improvements, is what I wanted to say 😁 |
It is really great that we have the possibility to enforce two factor auth with Nextcloud 15, thanks to everyone who made this happen!
I tested it last week with @MariusBluem and we found some (small) issues we want to document for improvements.
Also it was not obvious to me what this settings mean. If I don't do anything, will it be enforced for everyone? What happens if I explicitly enforce it for groupA and not for groupB and a user is in both groups?
Another thing which confuses me is that I can enforce two factor auth even if no single two factor out method is enabled. I think it would make sense to check that at least one is enabled (u2f, totp,...) and otherwise disable the checkbox.-> Warn/check if any 2FA provider is active before enforcing 2FA #12267OK, I enabled it now, logged out and tried to login again, which lead to this screen
As I'm the admin I'm now logged out.
Also I don't understand why I should contact the admin now and what they are supposed to do.
What I would expect is that Nextcloud tells me that two-factor auth is required for this account and ask me to scan a Qr code, insert my Nitrokey, whatever. Basically offering a way to complete the setup by myself. I don't think it scales for large installation if everyone has to contact the admin now to do something manually.-> #12268The text was updated successfully, but these errors were encountered: