Open MasterPuffin opened 5 months ago
Possible duplicate of https://github.com/nextcloud/user_saml/issues/826
Possible duplicate of nextcloud/user_saml#826
I don't think it is. Our user_saml
has the fixed version of lib/UserBackend.php
but we still cannot create app passwords. There are no error messages for the user nor in the Nextcloud or php_fpm logs. Devtools shows a 503 response to the POST request to /settings/personal/authtokens
(request only containing the "name" for the new app, JSON encoded).
I can confirm adsche comment
No log in nextcloud.log
the button just dosent do anything, and in webbrowser's console it just show a 503 for a POST request to https://diopbox.fr/settings/personal/authtokens
It appear that loggin off and back in fix it, I suppose its linked to this patch? https://github.com/nextcloud/server/pull/7487/files which appear to set a timer for it (30m, i can try to wait rn and see)
edit: dosent happen anymore, I'll try to find an actual way to replicate it
Wow! Indeed, it works right after login for a while (more than 30 min) but stops working at some point.
I can confirm that this bug, including the timed behavior and no errors, also happens with OIDC login.
I upgraded to 29.0.3 because I almost expected #43942 (#45705) to fix this issue as it seems related. Unfortunately it doesn't seem to have fixed it. App password creation was again possible for only a short time after SSO login.
can confirm upgraded to 29.0.3 and it still have the same problem
Confirmed... only recent login allows it to work - affects installing Apps as well
I confirm. Account deconnection/Reconnection solves the issue
⚠️ This issue respects the following points: ⚠️
Bug description
When SAML is configured to be the only possible option for login, it is not possible to create an app password. When trying to crate an app password the server responds with a 503, however no error is displayed in the webinterface. The log states
Call to undefined method OCA\User_SAML\UserBackend::checkPassword()
Steps to reproduce
Expected behavior
An app password is created or at least an error is shown
Installation method
Community Web installer on a VPS or web space
Nextcloud Server version
28
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
Additional info
No response