[Bug]: Authentication waits forever
⚠️ Before submitting, please verify the following: ⚠️
- [X] This is a bug, not a question or a configuration issue.
- [X] This issue is not already reported on Github (I've searched it).
- [X] Nextcloud Server and Desktop Client are up to date. See Server Maintenance and Release Schedule and Desktop Releases for supported versions.
- [X] I agree to follow Nextcloud's Code of Conduct
Bug description
When we configure an account in the client and it takes us to the authentication URL, if we do not enter data, it waits forever consuming server resources. There should be a time limit (10 minutes for example) and after that time the process should be cancelled. This is a BUG because each client could be making requests "indefinitely".
Steps to reproduce
- Open client
- Add new account
- Wait indefinitely
Expected behavior
Authentication process timeout
Which files are affected by this bug
n/a
Operating system
Linux
Which version of the operating system you are running.
Debian 12
Package
Other
Nextcloud Server version
29.0.0
Nextcloud Desktop Client version
3.7
Is this bug present after an update or on a fresh install?
Fresh desktop client install
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
Are you using an external user-backend?
- [ ] Default internal user-backend
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
Nextcloud Server logs
No response
Additional info
No response
Are you referring to the window of your web browser that gets opened to the Nextcloud login page?
if we do not enter data, it waits forever consuming server resources.
Have you actually experienced a problem or seen evidence of this?
Hello. In our infrastructure we find in the logs several open clients (approximately 10) making requests every 30 seconds which makes 120 requests/hour or 2880 requests/day (1200 and 28800 in our case). Knowing that a token is valid for 20 minutes that's a lot of requests saved and a cleaner log.