dedoussis / icloud-hide-my-email-browser-extension

Enjoy iCloud's Hide My Email service in your favourite browser
https://chrome.google.com/webstore/detail/icloud-hide-my-email/omiaekblhgfopjkjnenhahfgcgnbohlk
MIT License
319 stars 15 forks source link

Error: "Failed to sign in. Please try again" #37

Open fanckush opened 1 year ago

fanckush commented 1 year ago

Hello!

Very cool extension! but I am unable to sign in, I get the 2FA popup but the extension popup says "Failed to sign in. Please try again." instead of asking me to put in the 2fa code

can I provide some info to help debug this?

dkohtes commented 1 year ago

Same for me. I think I remember that it worked in one Brave browser window but now does not work in another Brave browser window.

dedoussis commented 1 year ago

Hi @fanckush and @dkohtes! The issue is due to Chromium unexpectedly disabling some static declarative net request rules of the extension. I could not figure out what's the exact root case behind that. It is possible that this could be a bug of Chromium.

Have just pushed a patch to work around this Chromium behaviour. It's been released as version 1.1.2 but awaits a review from the Chrome webstore team.

fanckush commented 1 year ago

still same issue

edit: i'm experiencing the issue in Orion Browser. On Brave it works perfectly with no errors. Does that help?

dedoussis-stripe commented 1 year ago

@fanckush which version of the extension are you running on Orion? Would it be possible to inspect the background worker of the extension and retry logging into iCloud? Could you paste the debug/verbose logs of the background worker once you've attempted to log in?

fanckush commented 1 year ago

@dedoussis using version 1.1.2 I can check the console and network tab of the extension

image

image

the console of the extension shows the following: image

does this help?

dedoussis commented 1 year ago

That helps @fanckush, thank you! Does uninstalling and re-installing the extension fix the issue?

fanckush commented 1 year ago

uninstalled and restarted Orion, same error. btw, the Origin header looks like this: image