Skip to content

[BUG] Verification Code #1361

Closed
Closed

Description

@raj8893k-source

Describe the bug

Verification code not resiving

Instructions to reproduce

Verification code

What version of SideStore are you using?

0.6.3

Other info

No response

Activity

  1. github-actions commented on Jul 5, 2026

    @github-actions

    Thank you for opening an issue!

    A maintainer will review your issue shortly. Please make sure you've filled out all relevant information in the issue template.

  2. CyanoFresh commented on Jul 5, 2026

    @CyanoFresh

    same issue, no popup appears on other devices. tried stable & nightly

  3. Erik262 commented on Jul 5, 2026

    @Erik262

    And the same here as well. on iOS 27 beta 1 and beta 2 and probably for beta 3 that comes today.

    EDIT: Yep also for beta 3

  4. PigeonSenpai commented on Jul 15, 2026

    @PigeonSenpai

    I tried the manual 2FA code from @CyanoFresh and no luck. This seems to be a bigger issue as I can't get iLoader or AltServer to push 2FA codes. SideStore which I already have installed on a device can however prompt Apple to send out a text 2FA code but it just keeps asking for more when you put it in. Using the 2FA from an offline device or the 2FA from a browser login session gives an invalid error.

  5. Erik262 commented on Jul 15, 2026

    @Erik262

    I tried the manual 2FA code from @CyanoFresh and no luck. This seems to be a bigger issue as I can't get iLoader or AltServer to push 2FA codes. SideStore which I already have installed on a device can however prompt Apple to send out a text 2FA code but it just keeps asking for more when you put it in. Using the 2FA from an offline device or the 2FA from a browser login session gives an invalid error.

    Exactly the same here... dont know how to solve this

  6. added this to the 0.6.4 minor milestone on Jul 16, 2026
  7. TZeys commented on Jul 26, 2026

    @TZeys

    same here on ios 27 dev 3. The reddit thread fixes i found here and there also do not work. An SMS prompt option would be useful.

  8. nfrhnh commented on Aug 13, 2026

    @nfrhnh

    I found the root cause of this. SideStore's AltSign auth code hardcodes the trusted phone number ID as "1":

    • Sources/ALTAppleAPI+Authentication.swift, requestSMSTwoFactorCode: the PUT /auth/verify/phone/put body sends "phoneNumber.id": "1", and the verify request sends "phoneNumber.id": "1" as well.

    For Apple IDs whose trusted phone number does not have ID 1, Apple rejects the send request so no SMS is ever delivered — but AltSign doesn't check the HTTP status of that request, so the verification prompt is still shown (and its text, "sent to your Apple devices", is hardcoded for every path).

    Confirmed with an account whose only trusted number has ID 2 (the GSA challenge response returns TrustedNumber { ... id: 2 } — happens e.g. when an older number was removed). iloader signs in fine with this account because it loads the real number IDs; SideStore shows the prompt with no SMS arriving. Browser codes fail both because codes are session-bound and because the verify request targets the wrong number ID.

    Suggested fix: load the trusted phone numbers from the challenge response and use the actual ID, and surface send-step failures instead of showing the prompt regardless. This is the same bug isideload just fixed (nab138/isideload#9: "Stop hardcoding phone number ID 1").

  9. nfrhnh commented on Aug 13, 2026

    @nfrhnh

    Update: I built and verified a patched build for this. Repo with the patch script and modified source: https://github.com/nfrhnh/sidestore-2fa-fix — prebuilt IPA (for accounts whose trusted phone number has ID 2) is in the Releases, install with iloader (it re-signs with your cert). If your phone number ID is different, the included script patches the IPA for any digit.

    Find your real ID from iloader's log after a login attempt: Retrieved 1 trusted phone numbers ... [TrustedNumber { ..., id: N }].

    Sign-in with SMS 2FA confirmed working end-to-end with the patched build. This doesn't replace the proper upstream fix (fetch the real number IDs in AltSign), but it unblocks affected accounts today.

  10. Erik262 commented on Aug 13, 2026

    @Erik262

    @nfrhnh thank you for your work, but I can't find any phone number id in the logs also the path does not exist on my side (~/.local/share/me.nabdev.iloader/logs/)

  11. nfrhnh commented on Aug 14, 2026

    @nfrhnh

    @Erik262 thanks — a better place to look first is SideStore itself, on the phone:

    1. SideStore's own console log (on the phone): Settings → Techy Things → Console Log, enable verbose logging, then attempt a sign-in with the affected Apple ID. Look for the [AltSign] lines — the tell is the SMS send request status:

    [AltSign] requestSMSTwoFactorCode request code task succeeded (status: 412)
    

    A non-2xx status (e.g. 412) right when the prompt appears is the smoking gun: Apple rejected the send to the hardcoded ID 1, but SideStore shows the code prompt anyway.

    2. To get the exact ID number (only needed if the prebuilt IPA doesn't work for you), the iloader log has it — but my earlier comment only gave the Linux path. The logs/ folder lives under iloader's app-data directory, which depends on your OS (and is only created after you've launched iloader at least once):

    • Linux: ~/.local/share/me.nabdev.iloader/logs/
    • macOS: ~/Library/Application Support/me.nabdev.iloader/logs/
    • Windows: %APPDATA%\me.nabdev.iloader\logs\

    It also needs iloader v2.2.10 or newer (v2.2.9 and older don't log this line), and a sign-in attempt that reaches the 2FA step. Search the log for trusted phone numbers.

    Shortcut: just try the prebuilt IPA first — it's already patched for ID 2, which is the common case. If a code arrives, you're done.

    I've updated the README with both methods: https://github.com/nfrhnh/sidestore-2fa-fix#how-to-find-your-phone-number-id

  12. Erik262 commented on Aug 15, 2026

    @Erik262

    @nfrhnh I just got the chance to try your instructions, and unfortunately, there isn’t a single line containing "[AltSign]" in the side store logs. Also, the path to the logs doesn’t exist on my Mac. Probably because I’m running macOS and iOS 27 beta?

    PS: loading your precompiled livecontainer+sidestore keeps crashing when opening the internal sidestore.

  13. mahee96 commented on Sep 3, 2026

    @mahee96

    0.6.4 nightly as of today supports full 2FA ie phone call, sms, otp etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions