passwords-webextension icon indicating copy to clipboard operation
passwords-webextension copied to clipboard

Extension keeps logged in although it logout after 5min is set

Open matthiasw2021 opened this issue 4 years ago • 4 comments

System Information

  • Extension Version: 2.1.1
  • Browser and Version: Firefox 86.0.1 (64-Bit)
  • Client OS and Version: Mac Os 10.15.7

Steps to reproduce

  1. Set auto logout to 5 min under Settings/Accounts
  2. log in
  3. fill out password forms works, generating passwords works, saving passwords to nextcloud works
  4. Waiting 10 minutes without using the browser and/or with browser closed

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.

matthiasw2021 avatar Mar 14 '21 20:03 matthiasw2021

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

kosssi avatar Mar 16 '21 23:03 kosssi

I still have this issue. I am using the latest extension and the latest passwords app. Any suggestions?

matthiasw2021 avatar Sep 10 '21 12:09 matthiasw2021

Is this issue still present?

marius-wieschollek avatar Nov 25 '23 09:11 marius-wieschollek