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

Sign-in through the service worker (fixes: #20) #25

Closed dedoussis closed 1 year ago

dedoussis commented 1 year ago

Fixes iCloud sign-in issue in Firefox, where the 2FA OS dialog closes the extension pop-up, before the latter transitions to the 2FA state. The user would then re-open the pop-up to enter the 2FA code, but the pop-up is still left at the original signed-out state.

The fix moves the execution of the sign-in workflow from the pop-up to the service worker.