2FA setup during login#15304
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
I tested the part from @ChristophWurst (thanks for finishing up!) good from my PoV. |
|
Ah. One more thing that came to mind. Should we have an admin setting if 2FA during login is allowed? |
Fine by me, though low priority. This can be added in a follow-up PR 😉 |
DetailsGET http://nextcloud.local/apps/twofactor_totp/js/main-login-setup.js?v=1466e706-0 net::ERR_ABORTED 404 (Not Found)
|
Were you on nextcloud/twofactor_totp#550 and did you build the app? |
|
yes and no. Required Krankerl and there are no macOS builds afaik? |
Yes, good point. I'm building it for OSX on CI but there are no binary releases (yet). Let me package that for you: twofactor_totp.tar.gz |
That would be awesome. I was just about to simply wrap it in a docker container. |
georgehrke
left a comment
There was a problem hiding this comment.
👍 Works
From a usability pov i would probably drop the second time, that you have to enter your code.
Once 2FA is enforced for a user and they have no 2FA setup yet this will now prompt them with a setup screen. Given that providers are enabled that allow setup then. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
aef0b4e to
579162d
Compare
Hacky totp branch: nextcloud/twofactor_totp#550
Fixes #12268