Closed cuthulino closed 1 year ago
Same issue. Need to refresh and then it works.
We get the same error on our Nextcloud installation version 26.0.1
.
This results to multiple "Login failed" errors and will therefore be listed in the "brute force" security of Nextcloud, which causes the network affected to be slow.
2023/07/11 10:44:11 [error] 32438#32438: *145844 FastCGI sent in stderr: "PHP message: [nextcloud][core][2] {"reqId":"","level":2,"time":"2023-07-11T10:44:11+02:00","remoteAddr":"***REMOVED***","user":"--","app":"core","method":"POST","url":"/index.php/apps/passwords/api/1.0/password/show","message":"Login failed: '***REMOVED***' (Remote IP: '***REMOVED***')","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36","version":"26.0.1.1","data":{"app":"core"}}" while reading response header from upstream, client: ***REMOVED***, server: ***REMOVED***, request: "POST /index.php/apps/passwords/api/1.0/password/show HTTP/2.0", upstream: "fastcgi://unix:/var/run/phpfpm.sock:", host: "***REMOVED***"
There seems to be a bug in how the app handles passwordless logins when it creates the temporary session token/tokens for browser extensions. An empty string is stored in the token as the user password instead of null
. These tokens then expire after 5 minutes.
The latest nighty build (5155) contains a patch for this.
This bug should now be fixed with the latest update
⚠️ This issue respects the following points: ⚠️
Server Information
Client Information
Browser and Version: Firefox (112.0.2 (64-Bit)) Client OS and Version: Windows 10 Pro (22H2)
Bug description
When I am browsing my cloud, and I switch over to the Passwords app sometimes I get Error 401 unauthorized. (not every Time). I already found this thread which sounds similar but has no solution.
I am using the SAML backend for Logins.
For example the XHR Request to "https://cloud.xxx.de/index.php/apps/passwords/api/1.0/folder/show" sometimes work, sometimes errors out with 401.
I searched the Logs and did not find anything useful, only the one line.
Steps to reproduce
Not exactly reproducable.. On my cloud I do:
Expected behavior
While I am logged in I should be authorized.
Nextcloud Logs
Browser Logs