Skip to content

Support dynamic App Store auth endpoint discovery#29

Merged
londek merged 1 commit into
londek:mainfrom
efibalogh:fix/login-endpoint
Jun 10, 2026
Merged

Support dynamic App Store auth endpoint discovery#29
londek merged 1 commit into
londek:mainfrom
efibalogh:fix/login-endpoint

Conversation

@efibalogh

Copy link
Copy Markdown
Contributor

Summary

Resolve issues with App Store authentication by implementing dynamic auth endpoint discovery. If the initial auth request fails due to endpoint redirects or changes, the client parses the XML plist unmarshal error for any new authentication endpoint and automatically retries the login.

Ports the fix from ipatool (credits to @b-nnett).

Before

$ ipadecrypt bootstrap

▎ Step 1/4 · Sign in to the App Store
  ipadecrypt requires an Apple ID to download .ipas.
  It has to the be same Apple ID used on the jailbroken device.
  Credentials are stored locally on this machine.
  ▸ Apple ID email: email@example.com
  ▸ Apple ID password: ********
  ✗ login failed: login failed

After

$ ipadecrypt bootstrap         

▎ Step 1/4 · Sign in to the App Store
  ipadecrypt requires an Apple ID to download .ipas.
  It has to the be same Apple ID used on the jailbroken device.
  Credentials are stored locally on this machine.
  ▸ Apple ID email: email@example.com
  ▸ Apple ID password: ********
  ✓ authenticated
    Apple ID:    email@example.com
    Name:        Example Name
...

Resolve issues with App Store authentication by implementing dynamic auth endpoint discovery. If the initial auth request fails due to endpoint redirects or changes, the client parses the XML plist unmarshal error for any new authentication endpoint and automatically retries the login.

Ported from the fix in ipatool (majd/ipatool#490).
@efibalogh efibalogh force-pushed the fix/login-endpoint branch from 04871dc to f9e021a Compare June 10, 2026 21:49
@londek

londek commented Jun 10, 2026

Copy link
Copy Markdown
Owner

LGTM! Thanks!

@londek londek merged commit f2bb3dc into londek:main Jun 10, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants