fix login broken because of apple new auth endpoint#82
Open
void-eth wants to merge 1 commit into
Open
Conversation
Adapt ipatool PR #486 to AssppWeb: - Prefer top-level authenticateAccount over urlBag entry - Append /fast sub-path to auth.itunes.apple.com endpoints - Change default auth fallback to native fast endpoint
|
I also encountered "Authentication failed: the server returned HTTP 200 with an empty response body." |
qq148376839
added a commit
to qq148376839/AssppWeb
that referenced
this pull request
Jun 8, 2026
Apple moved authentication to auth.itunes.apple.com/auth/v1/native/fast. The old MZFinance endpoint returns 403, and /auth/v1/native without /fast returns 200 empty body. The /fast suffix is required. Ref: upstream issue Lakr233#82, ipatool PR #486 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
苹果又更新了验证链接和返回,我自己根据majd/ipatool#490 更新我也提交了一个PR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
hey, so login was failing for me since few days and i found out apple changed the auth endpoint. the bag now points auth to auth.itunes.apple.com and it needs the /fast subpath at the end otherwise it just doesnt work.
i saw ipatool also fixed the same thing in their PR #486 (majd/ipatool#486) so i did the same logic here in the web version.
what i changed:
also updated the bag tests to cover the top level case and the /fast appending, and fixed the note in AGENTS.md.
the backend wisp whitelist already allows auth.itunes.apple.com so no change needed there. i didnt touch the cookie jar lock part from ipatool because that one is for their file based cookie storage and we use indexeddb in browser so its not relevant.
tested on my own server with docker and login works again now. lemme know if you want me to change anything thanks