2FAuth icon indicating copy to clipboard operation
2FAuth copied to clipboard

[WebExt]: Unauthorized Data cannot be refreshed from server

Open welshtralian opened this issue 1 month ago • 1 comments

2FAuth version

5.6.1

Extension version

1.1.2

Browsers

Firefox (or derivatives)

What happened?

Hello, appreciate the effort that you make with 2FAuth!

I have been trying to use the extension. When I first set it up (or when I have to "Reset Extension") it works perfectly fine. However, after a short period of time, the "Unauthorized Data cannot be refreshed from server" error shows up, and I have to reset the extension to be able to use it for a short time again.

What I have noticed upon inspecting the extension is: initially the Bearer token is being sent but then after a while, the Authorization header is empty.

I have tested your extension with Microsoft Edge, and it works as it should.

Error & Logs


Configuration

I am using Docker, Traefik w/Authelia, and have tried both Traefik bypass routing and Authelia bypassing. I am using Cloudflare as DNS, but I would guess that if there was a problem with these, the extension on Edge would have problems too - but I'd thought I'd let you know how I have it running.

Containerization

  • [x] Docker

Additional information

I have log in debug mode, but the only logs I have are about OTP codes being generated, that's why the log section is empty.

welshtralian avatar Dec 05 '25 14:12 welshtralian

chime in to confirm this behaviour of firefox extension. I have a dockerized 2fauth instance behind a nginx reverse proxy

amigthea avatar Dec 10 '25 11:12 amigthea