-
Notifications
You must be signed in to change notification settings - Fork 50
Description
This has been working great for months -- completing 2FA code entry is not needed just to find your device, to play a sound on a device
Now, about 2 weeks ago, seems to be only issuing redirect requests.
Request is successfully reaching Apple but reply including a redirect
trace shows numerous(?) page requests, until HTTP 421 is returned
I'm curious if others are seeing this issue at the moment?
Not sure if it's just me or if others are seeing this too, it's possible multi domain SSL Certs from Apple are not as expected. I also see this issue over time being reported from others (other projects) using https://setup.icloud.com/setup/ws/1/login
maybe there's some cache that needs to be cleared? or better handling of session cookies being returned by Apple?
return "Login Error" with HTTP code 421
var options = {
url: "https://setup.icloud.com/setup/ws/1/login",
json: {
"apple_id": findmyphone.apple_id,
"password": findmyphone.password,
"extended_login": true
}
};
findmyphone.iRequest.post(options, function(error, response, body) {
if (!response || response.statusCode != 200) {
return callback("Login Error");
}