-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
2FA setup during login #15304
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 😉 |
![336B494C-30D0-4E1D-BFBF-A057E578358E](https://user-images.githubusercontent.com/1250540/57849898-d9142f80-77dc-11e9-8e63-595e35adea68.png)
GET 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Works
From a usability pov i would probably drop the second time, that you have to enter your code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and worked 👍
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