marius-wieschollek / passwords-webextension

The official browser extension for the Passwords app for Nextcloud.
GNU General Public License v3.0
109 stars 34 forks source link

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

Open matthiasw2021 opened 3 years ago

matthiasw2021 commented 3 years ago

System Information

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.

kosssi commented 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

matthiasw2021 commented 3 years ago

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

marius-wieschollek commented 11 months ago

Is this issue still present?

babblecatproduction commented 8 months ago

Where can I find the "Auto Logout" Setting?