keeweb / keeweb-connect

Browser extension for KeeWeb
MIT License
86 stars 12 forks source link

Compatibility with keeweb integration into Nextcloud #43

Open mat-m opened 1 year ago

mat-m commented 1 year ago

Hello

I tried to use keeweb-connect with https://github.com/jhass/nextcloud-keeweb I got

Connection state: Error

Cannot connect to KeeWeb, refreshing a tab with KeeWeb may help. Inspect the extension background page to get more details.

I tried to click again "Connect to keeweb" button after the db is loaded into keeweb, but the same error raises.

I dont know if it will never work or if the timeout for the connection is too small, because it takes some time for keeweb to decrypt the file. And I don't see any setting for connection delay in the plugin (Firefox)

Roshak commented 1 year ago

Same here using Nextcloud 24.0.5

presslab-us commented 1 year ago

Because Nextcloud uses an iframe the KeeWeb URL extension option should look like: https://cloud.mysite.com/apps/keeweb/keeweb.

This allows keeweb-connect to work but it isn't ideal because even if the KeeWeb app is selected in Nextcloud, keeweb-connect will open a new tab and that KeeWeb gives the error "Too many tabs". Maybe keeweb-connect can connect to the app inside the iframe somehow.

Borph commented 11 months ago

I had the same problem and that solved it! Thanks! A hint for the user would be helpful. Maybe in case of connection error, show something like "Nextcloud user? Make sure to point URL to actual Keeweb app".

pablosavigne commented 1 month ago

Because Nextcloud uses an iframe the KeeWeb URL extension option should look like: https://cloud.mysite.com/apps/keeweb/keeweb.

This allows keeweb-connect to work but it isn't ideal because even if the KeeWeb app is selected in Nextcloud, keeweb-connect will open a new tab and that KeeWeb gives the error "Too many tabs". Maybe keeweb-connect can connect to the app inside the iframe somehow.

This works!