-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Fido2/Webauthn - Users are constantly logged out automatically after a short time #26806
Comments
Sorry to ask, but has anything happened on this or is more info needed? Since Nextcloud has so explicitly advertised the Fido2 feature publicly and companies like ours now have over 200 Fido2 keys in use, it would be great if there was a solution to this problem. |
@osm-frasch |
Does anyone tried 21.0.2 already? |
not yet. I will update it tomorrow evening and give feedback then. |
So, I have updated to 21.0.2 - everything went smoothly. I now have set up the Yubikey as Webauthn/Fido2 again. The following:
Absolutely nothing. The same stick works wonderfully with U2F. I have tried this with current versions of Firefox and Chrome. Unless I've missed something, this would be more of a worsening of the old bug. I ask Nextcloud to take care of this problem as a matter of urgency. Please use "thumbs up" if you experience the same problem in NC 21.0.2 or provide additional information. |
I have exactly the same behavior on my installation. |
Does this mean that Webauthn/Fido2 generally no longer works in Nextcloud? Is there any statement on this from the developers? |
I think that it is "just" broke. |
I recognize a error massage from the MariaDB I use when I try to login:
but oc_webauth got no duplicate id: MariaDB [nextcloud]> Select id,name FROM oc_webauthn;
|
I created a new issue #27079 (comment) |
Is this Issue still valid in NC21.0.3? If not, please close this issue. Thanks! :) |
I have just tried it under 21.0.3 I tested this with the latest versions of Firefox and Chrome. When I log in with passwordless (log in with a device), I can enter my user name, then the browser tells me to tap the Yubico stick (sensor field). After that...nothing happens. No further data is loaded in the browser. Nothing happens. So 21.0.3 can't do it either. I remember that under NC 21.0.1 it was at least possible to log in, but then you were automatically logged out again if you triggered any action in Nextcloud. But since NC 21.0.2 I can't even log in with Webauthn anymore. However...U2F works perfectly! |
Hi @osm-frasch, |
running NC 21.0.3 |
Thank you for pointing this out. Personal opinion, even if it doesn't belong here: I'm really starting to wonder how the problem is now dragging on throughout the entire 21 version. Webauthn had promoted Nextcloud really intensively in V19 and now it's broken and you can't get it to work. Is this not a higher priority? In our education centre it was rather embarrassing. Another question in the round. Does the problem also exist in the new NC 22? |
ok, I have the same issue with nearly 100 users, so I am also very interested in a solution. |
I tried it yesterday and the problem still exist in 22. you can login with webauthn but the client sync tool an connected calendars and contact tools are logged off. |
Looks like you can now publicly say that Nextcloud does not support Webauthn/Fido2. Would be the better communication for them |
omg, I thought this is some kind of core functionality.... btw. yesterday I have reverted the changes from #25460. It is now working in 21.0.3 for me.... @ChristophWurst any plans when this is working again? seems to be still broken in NC 22 according to @son1c |
Duplicate of #27886. The fix seems to be now in master, but not yet backported to stable22 and 21. |
still the same issue in 21.0.4 |
For me there was an improvement. I no longer get the 500 error when attempting to log in using the Webauthn mechanism detailed in #27079, but now I experience the "Logged out automatically after a short time" problem. |
yes, right, the login is working, but users are still logged out after a short period of time. thus it is still unusable. |
still the same on NC 22.1.1 |
Does that fix help with the mentioned issue for you? |
yes, this solved the issue for me. |
Thanks for the answer, I applied nextmcloud@937103c too and will report back later. |
Works as intended for me too. I hope it will be implemented in the next version to be released. |
It´s still an issue in 22.2.0 :-( |
I am using App passwords for the nextcloud app on linux, on iPhone and on iPad, additionally for carddav and caldav on iPhone, iPad and PinePhone. On all these devices I get logged out if I login with Nitrokey Fido2 on Desktop browser. |
Of cause this then causes the issue "We have detected multiple invalid login attempts from your IP. Therefore your next login is throttled up to 30 seconds." So I will also get loged (and locked) out from desktop. |
this seems to be fixed with 22.2.1 👍 |
I can confirm this as well. |
backports have been merged as well. So should be fixed with the latest releases. |
After the update to Nextcloud 21 there is a problem with Webauthn/Fido2.
Login via web interface works as usual with the Security-Sticks but:
==> They are logged out of the system after a few minutes.
(Warning | core | Login failed:...)
==> Normal work in Nextcloud is no longer possible
Our security keys are configured as Webauthn + U2F.
This has now worked great for half a year
Users with TOTP login as 2nd factor are not affected.
This is a big problem for us as we have a number of users with Fido2 access.
Test:
I have deleted the webauthn key on the stick and now only use the U2F on the security stick.
This works perfectly. This means that it is really due to the webauthn/Fido2.
PHP version:
PHP 7.3.27
Nextcloud version:
Nextcloud 21.0.1
Updated from an older Nextcloud/ownCloud or fresh install: older Version of Nextcloud
Nextcloud log
Warning core Login failed: ''
Warning core Renewing session token failed
There is already a similar bugreport and discussion here: #26502
The text was updated successfully, but these errors were encountered: