Nextcloud with KeepassXC Auto login without user actions on Ubuntu 24.04

Hello As a new member, first of all, greetings to the forum.

I have a problem with Nextcloud in connection with KeepassXC.

After setting up KeepassXC, the 3 firefox windows always appear when starting the Nextcloud desktop client:
“Connect to your account” – “Sign in”
“Account Access” - “Grant Access”
“Account Connected”

“Sign in” and “Grant access” always require a user action.
User and password are automatically taken over by KeepassXC.

Question: How can I suppress the 3 windows and the user actions “Login” and “Grant access”.

I tried https://help.nextcloud.com/t/auto-login-probleme-mit-keepassxc-und-discourse/109674 but this don’t help.

Thanks for any help, DZ

Ubuntu 24.04
Nextcloud Desktop Client
KeepassXC 2.79
Firefox 129.0.2

hi @qwas99 welcome to the forum :handshake:

the sequence “Sign-In” → “Grant Access” belong to a “Login Flow” process which is used by e.g. desktop client or mobile in order to generate device specific password. The browser “itself” doesn’t trigger the sign-in flow in general.

I’m having hard time understanding where this flow comes from - IMHO it can not be related to a KeepassXC itself (maybe some integration?) please provide more details if this happens for the browser only or somehow related to a desktop client.

Hello wwe,
thank’s for your answer. It works now.

I installed ubuntu new from the beginning. As first step I removed gnome-keyring and after this I installed KeepassXC and enabled the KeepassXC Secret Service Integration.

And after this I installed the Nextcloud Desktop Client. The first time there was the “Sign-in” and “Grant Access” window, and then never again.
That is what I would like to have.

But Im wondering, that the Nextcloud Sync is working also if the KeepassXC datebase is locked. That could only be if the Nextcloud Desktop client store the password itself.
Can anybody confirm that the Nextcloud Desktop client store the password itself, or know where the password is stored?

qwas99

I don’t have a reference handy but IMO gnome-keyring is required for the client… and in general yes the client stores the password somehow internally (maybe using keyring) - I’m not sure it is possible to make the client store and request the credentials on-demand from KeypassXC