From 35f7955228b92e3696b00d3050a1ff412ebc5592 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Thu, 7 Jan 2016 21:51:56 +0100 Subject: [PATCH] Use same setup/login endpoint as iCloud webapp --- pyicloud/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyicloud/base.py b/pyicloud/base.py index d57465f..ba47524 100644 --- a/pyicloud/base.py +++ b/pyicloud/base.py @@ -39,7 +39,7 @@ class PyiCloudService(object): self.user = {'apple_id': apple_id, 'password': password} self._home_endpoint = 'https://www.icloud.com' - self._setup_endpoint = 'https://p12-setup.icloud.com/setup/ws/1' + self._setup_endpoint = 'https://setup.icloud.com/setup/ws/1' self._base_login_url = '%s/login' % self._setup_endpoint self._base_validate_url = '%s/validate' % self._setup_endpoint