Open matthiasw2021 opened 3 years ago
I have same error with settings 'logout after: never' ;)
{"reqId":"NkgDY5hbNQnQ8Wdrnyli","level":4,"time":"2021-03-16T22:50:54+00:00","remoteAddr":"*******","user":"******","app":"passwords","method":"POST","url":"/index.php/apps/passwords/api/1.0/service/password","message":{"Exception":"OCA\\Passwords\\Exception\\ApiException","Message":"Authorized session required","Code":256,"Trace":[{"file":"/var/www/html/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","line":98,"function":"beforeController","class":"OCA\\Passwords\\Middleware\\ApiSessionMiddleware","type":"->","args":[{"__class__":"OCA\\Passwords\\Controller\\Api\\ServiceApiController"},"generatePassword"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":119,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDispatcher","type":"->","args":[{"__class__":"OCA\\Passwords\\Controller\\Api\\ServiceApiController"},"generatePassword"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":157,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Passwords\\Controller\\Api\\ServiceApiController"},"generatePassword"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["ServiceApiController","generatePassword",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"passwords.service_api.generate_passwordPOST"}]},{"file":"/var/www/html/lib/base.php","line":993,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/passwords/api/1.0/service/password"]},{"file":"/var/www/html/index.php","line":37,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/custom_apps/passwords/lib/Middleware/ApiSessionMiddleware.php","Line":78,"CustomMessage":"Authorized session required"},"userAgent":"Official Passwords Client for Firefox on Linux","version":"21.0.0.18"}
If I kill firefox, restart it and log in this error disappear
I still have this issue. I am using the latest extension and the latest passwords app. Any suggestions?
Is this issue still present?
Where can I find the "Auto Logout" Setting?
System Information
Steps to reproduce
Expected result
After 10 minutes idle time the extension should log out me automatically. If I want to fill out a password form or generate a password or save a password I have to log in again.
Actual result
After 10min idle time the extension seems like it is still logged in as I can search for passwords. But whenever saving a password it never is saved in my nextcloud. Also generating passwords stops working with an HTTP 412 error. So it seems like it could some connection to my nextcloud.