Skip to content

Scan QR Error Demo Site #472

@juanse417

Description

@juanse417

Version

5.4.3

What happened?

Not able to scan QR codes when using the demo.2fauth.app when using Firefox.

When I try to scan a QR code a get the following errors con Firefox console

Content-Security-Policy: The page’s settings blocked the loading of a resource (connect-src) at https://fastly.jsdelivr.net/npm/zxing-wasm@1.1.3/dist/reader/zxing_reader.wasm because it violates the following directive: “connect-src 'self'”

I tried on:
Firefox for Mac 137.0 (64-bit)
Firefox for Windows 132.0 (64 bit)

All this came from me trying to setup a local install and getting the same error.
I managed to fix it for my local install by modifying CONTENT_SECURITY_POLICY=false as suggested on #417

Image

Image

Error & Logs

Configuration

No response

Containerization

  • Docker

Integration

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixedThe issue is fixed (in a coming release)

    Projects

    Status

    Released

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions