getAlby / lightning-browser-extension

The Bitcoin Lightning Browser extension that connects to different wallet interfaces and brings deep lightning integration to the web
https://getalby.com
MIT License
530 stars 193 forks source link

Configuration Tab not initiated on Tor Browser #1328

Closed KoalaSat closed 2 years ago

KoalaSat commented 2 years ago

Describe the bug

When the extension is installed on Tor Browser, the initial configuration tab is not triggered. The extension icon appears but when I click on it, it displays the login popup. Accessing to the extension's local url will displays the same login view.

Screenshots (If Any)

image image

To Reproduce

Steps to reproduce the behavior:

  1. Install the extension in Tor Browser

Expected behavior

The user should be able to see and set the initial configuration.

Alby information

Device information [optional]:

Additional context

On https://github.com/Reckless-Satoshi/robosats we are working on implementing WebLN and we are using Alby for development. We ask all our users to access Robosats through the TorNet to improve privacy, so we would like to make sure it properly works with the Tor Browser.

Are you working on this issue?

No

Reckless-Satoshi commented 2 years ago

As found out by @bumi, Tor Browser seems to be strict on what can be saved (uses "Private Browsing Mode" by default). Some config of Alby needs to be saved (the account), but that storage profile is not available in "Private Browsing" setting.

While not ideal if max privacy is wanted, the solution is:

  1. Go to Settings
  2. In the search bar type "History"
  3. Uncheck "Always use private browsing mode"

Certainly not an Alby related issue. Can be closed.