#8750·all-in-one

Change automatic login to reveal login form

Author: pabzmCreated Sep 25, 2026Updated Sep 25, 2026
Labels1. to developenhancementtechnical debt

We decided to change the automatic login from the Nextcloud instance to not directly authenticate the user but to use it as a first authentication step, which makes the login form available for a short amount of time.

Without the AIO_TOKEN the login form will stay unavailable to protect it from brute force attempts etc.

After the token was verified the login form shall be available for the current session for a few minutes only. I suggest 5 minutes for now. After that timeout the login form shall be locked again also for the current session.

If an admin runs into this timeout before having authenticated they will have to click the automatic login link in their Nextcloud instance again. (For now this will be the same link as before, that'll change with #7696, though.)

This approach replaces the attempt to introduce two-factor-authentication using TOTP tokens (#8597).