FlowCrypt / flowcrypt-browser

FlowCrypt Browser extension for Chrome and Firefox
https://flowcrypt.com
Other
373 stars 46 forks source link

Invalid refresh token is not handled in Firefox #5827

Open sosnovsky opened 2 months ago

sosnovsky commented 2 months ago

When extension tries to refresh token using authRefreshToken method and requests fails:

✅ Chrome handles fail correctly, by showing Please reconnect FlowCrypt to your Gmail Account notification:

Screenshot 2024-09-09 at 14 38 39

❌ Firefox doesn't handle fail and extension just stucks in loading state, like this:

Screenshot 2024-09-09 at 15 42 04

To reproduce - replace refreshToken param in authRefreshToken request with any string.