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
289 stars 15 forks source link

Can‘t use china id #34

Open ttjim opened 1 year ago

ttjim commented 1 year ago

It can‘t be used on the apple china id, and the login is restricted.

dedoussis commented 1 year ago

Hi @ttjim! Thanks for reporting this issue! Could you provide some more detail on the error you see? Some screenshot as well as some logs from the dev console of the extension pop-up would really help.

ttjim commented 1 year ago

I use US id, it's ok. but china id show "Failed to sign in. Please try again." the icloud accounts in China and the US are in different locations.

ttjim commented 1 year ago

Authentication failed because China mainland account migated to icloud.com.cn instead of icloud.com.

class ICloudClient { private static readonly DEFAULT_BASE_URL_CONFIG = { auth: 'https://idmsa.apple.com/appleauth/auth', home: 'https://www.icloud.com', setup: 'https://setup.icloud.com/setup/ws/1', };

gutenye commented 8 months ago

@ttjim Checkout #47

dedoussis commented 6 months ago

Have merged the code change related to this! Many thanks to @gutenye for the initial implementation and for e2e testing the changes.

Published version 1.2.5 to both the Chrome and Firefox stores. Let me know how it works @ttjim.