[Bug]: Authentication waits forever
- Dominant language
- C++
- Stars
- 3.9k
- Forks
- 1k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 127
Description
### ⚠️ 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](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) and [Desktop Releases](https://nextcloud.com/install/#install-clients) for supported versions.
- [X] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/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
1. Open client
2. Add new account
3. 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_
Contributor guide
Assessment
This issue has not been assessed yet.