-
-
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
[Bug]: oauth clients fail since 30.0.6 #50917
Comments
Some working some not sounds like a problem with external software. Nevertheless without logs we can not debug this further, so please add corresponding logs. |
In this bugreport the logs are included. The error is related to the Nextcloud Files and Nextcloud Talk-App too. Since 30.0.6 there is no possibility to log in. And it's independend from OS. The error is on iOS and Android. |
Theres no specific error messages from Nextcloud, it plays as if everything went normal. But the apps are reporting that the login failed when the callback is reached. Downgrading to 30.0.5 fixes the issue and there were no changes to either Gitea or Peertube installs, so I doubt its external software. I guess the issue is in the callback which is handled differently in the external apps. And yeah, given there seem to be multiple issues around OAuth client and provider since 30.0.6 - maybe its in order not to dismiss this right away and look into it. Just my two cents, I can stick to 30.0.5 🤷♂️ |
@lhsei Are you using oauth? I didn't see any references in your linked bug report. |
My PR only added repair jobs and didn't change the authentication logic. I have one more question to be sure: @normen Did you downgrade by simply replacing the server files or did you also restore an old database backup? If you also restored a backup it could mean that the new migration code in the repair jobs is too aggressive. Ideally, repair jobs should not touch OAuth2 tables if the instance was not migrated from ownCloud since they last ran. |
The latter, full restore, wouldn't know how to downgrade Nextcloud otherwise |
In that case the migration code changes could be related. Although, I'd expect to see errors in the log. @normen If you are up for it, I'd like to get some more data on the matter:
|
Bug description
Since updating to Nextcloud 30.0.6 two of my WebApps that use my NextCloud as OAuth login ceased to work. These are Peertube and Gitea. Both worked fine in 30.0.5.
WordPress (with OIDC plugin) and OpenWebUI can still use the NextCloud OAuth login after the update, only Peertube and Gitea give errors when trying to log in.
Steps to reproduce
Expected behavior
The OAuth login should work for all external apps.
Nextcloud Server version
30
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.4
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated from a MINOR version (ex. 32.0.1 to 32.0.2)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
The text was updated successfully, but these errors were encountered: