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

Apple Developer authentication has changed #83

Closed
interstateone opened this issue Nov 13, 2019 · 2 comments · Fixed by #84
Closed

Apple Developer authentication has changed #83

interstateone opened this issue Nov 13, 2019 · 2 comments · Fixed by #84
Labels
bug Something isn't working

Comments

@interstateone
Copy link
Contributor

At some point today (2019/11/12) Apple changed how their auth works. This involves not just a small change like the URL https://olympus.itunes.apple.com/v1/session to https://appstoreconnect.apple.com/olympus/v1/session but a larger one like where the X-Apple-Widget-Key header value comes from. Will need to do some more digging to find out how we can replicate it.

@interstateone interstateone added the bug Something isn't working label Nov 13, 2019
@davedelong
Copy link

davedelong commented Nov 13, 2019

GET https://appstoreconnect.apple.com/olympus/v1/app/config?hostname=itunesconnect.apple.com

This one has been working for me for quite some time, and still returns an authServiceKey for me

@interstateone
Copy link
Contributor Author

Ah, thanks @davedelong! I see now that that's what xcinfo is using too. I was worried I'd be in for a bunch of digging through the web inspector to figure this out.

interstateone added a commit to interstateone/xcodes that referenced this issue Nov 13, 2019
The URLs we were using were originally from the xcode-install project and had been working up until today (2019/11/12). These URLs were updated in that project (actually in fastlane, which it uses for auth) about 7 months ago but I didn't notice this. I started to look in a web inspector while signing in to developer.apple.com and saw that the Olympus session URL changed. Dave DeLong noted that a slightly different URL worked for the iTC service key, which is also what xcinfo uses.

fastlane/fastlane#14509
XcodesOrg#83 (comment)
https://github.com/xcodereleases/xcinfo/blob/e51f022db3584be884b5d10d8b161ac26dbbee0b/Sources/OlympUs/OlympUs.swift#L213
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants