Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request err 401 #3

Closed
Fatpandac opened this issue Sep 18, 2022 · 11 comments
Closed

Request err 401 #3

Fatpandac opened this issue Sep 18, 2022 · 11 comments

Comments

@Fatpandac
Copy link

image

@dedoussis
Copy link
Owner

Hey @Fatpandac!

Could you provide me with a bit more context on how this occurred? Did you try signing out and signing back in? 401 means that your session token is not valid anymore.

@dedoussis
Copy link
Owner

Note that the Hide My Email feature is only available for iCloud+ members. The base iCloud subscription does not include it.

@Fatpandac
Copy link
Author

Fatpandac commented Sep 19, 2022

I subscripted iCloud+.
I tried to log in again when I got requests error whit 401, but it has not changed.
image

@dedoussis
Copy link
Owner

dedoussis commented Sep 19, 2022

@Fatpandac would you be able to paste me the response payload that is returned by the iCloud API?

In order to do this, you would need to open the dev console of the extension pop-up: While you have the extension popup window open, right click and select "Inspect".

Once you have opened the dev console, you can try regenerating a new Hide My Email.

Then, you can navigate to the Network tab of the dev console and see the response returned by the iCloud API.

@Fatpandac
Copy link
Author

Return 401 when request https://p103-maildomainws.icloud.com/v1/hme/generate
image

@dedoussis
Copy link
Owner

Ah right, it turns out that the host url of iCloud's premium email services changes per region. I made the mistake to hardcode it in the manifest of the extension: https://github.com/dedoussis/icloud-hide-my-email-chrome-extension/blob/main/src/manifest.json#L32

Will fix this ASAP and release a new version. It might take a couple of days for Google to approve it and publish it on the web store.

Thank you very much for flagging this @Fatpandac. Will ping you once it's fixed.

@Fatpandac
Copy link
Author

OK, thank you so much.

@dedoussis
Copy link
Owner

@Fatpandac The fix has finally been published to the chrome web store (version 0.0.3). For some reason it took 2 weeks for the web store review team to approve it 🤷

Let me know if it works for you and I will be closing this issue.

@Fatpandac
Copy link
Author

Ok, I will check it late. Thanks again.

@Fatpandac
Copy link
Author

It's working!

@dedoussis
Copy link
Owner

@Fatpandac Perfect! Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants