passbolt / passbolt_browser_extension

Browser extensions (Firefox, Edge & Chrome) for Passbolt the open source password manager for teams
https://passbolt.com
GNU Affero General Public License v3.0
233 stars 72 forks source link

Plugin not recognized by browsers with API v2.x #138

Closed IvanLemos5000 closed 2 years ago

IvanLemos5000 commented 2 years ago

Plugin not recognized by browsers

What you did

Since the plugin update, on 12/21/21, any browser no longer recognizes and I am unable to login. I only got one error on Firefox console: Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). moz-extension:40:65

cedricalfonsi commented 2 years ago

Hello there,

The browser extension has been released on 3rd December, it might be unrelated to the extension release.

  1. Can you confirm that passbolt requests your email when trying to reach your passbolt instance url? You should see the following string:

image

  1. Can you check the extension console and network.

On Chrome: New tab > go to chrome://extensions > look for passbolt card > details > inspect views section > click index.html

On Firefox: New tab > go to about:debugging#/runtime/this-firefox > look for passbolt card > Click inspect

  1. Can you confirm you didn't change the passbolt url?

  2. Can you copy/paste here the result of the server healtcheck? As root you can execute the following command: su -s /bin/bash -c "/usr/share/php/passbolt/bin/cake passbolt healthcheck" www-data

IvanLemos5000 commented 2 years ago

Hello, 1 - When I try to reach my passbolt URL, only shows the 'Download the plugin to get started!' page. 2 - I attached the console log from Firefox console-export-2021-12-22_12-18-30.txt 3 - No changes to the URL from server. 4 - Server log: server_log.txt

cedricalfonsi commented 2 years ago

Note that if you are installing the browser extension on a new browser and you are running the v2.x, it's an expected behavior. The home page of the application has evolved and the new home page guides the users when they are not identified, which might be your case here.

If you are in this scenario, you have 2 options:

If you are not installing the browser extension on a new browser, there are many errors in the healthcheck that need to be tackled. The GPG section looks in a poor state. You can follow the tips and try to sort it out. Also here again, migrating to the Ubuntu package will help you straighten up your configuration.

IvanLemos5000 commented 2 years ago

Thanks for your support, worked here with the /user/recover, and I'll update my server to the latest API.