Skip to content
This repository has been archived by the owner on Jul 25, 2023. It is now read-only.

Recent Update of login API #13

Open
Marindrew opened this issue Nov 13, 2015 · 3 comments
Open

Recent Update of login API #13

Marindrew opened this issue Nov 13, 2015 · 3 comments

Comments

@Marindrew
Copy link

So, Apple updates their APIs

Now the Login URL is
https://idmsa.apple.com/appleauth/auth/signin
with appliation/json POST request with the following parameters:
{"accountName":"email@me.com","password":"password","rememberMe":true}

it will respond with "X-SESS", "site" and "aa" cookie. After this point I am stuck, as the website somehow gets "wosid" cookie, couldn't track it so far.

Any suggestions?

@KrauseFx
Copy link
Member

Yes, it's already been implemented on spaceship: fastlane-old/spaceship@d55a43a

@TiernanKennedy
Copy link

@Marindrew did you get any further with this? I looked at the code on spaceship but it wasn't obvious how to get it working. I am getting back cookies from that URL but not sure what's need to auth correctly.

We run our scripts with Python, hence why Spaceship isn't ideal for the use case.

@ryzn0518
Copy link

@TiernanKennedy Hi TiernanKennedy, can you help me ,I want to know how to use the api with Python, as konw little about Ruby ,I felt very confuse.I hope you can give me a simple example to use the api, Thanks very very much.

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

No branches or pull requests

4 participants