AltStore icon indicating copy to clipboard operation
AltStore copied to clipboard

Remote Setup Sign-In Error

Open Thought-1915 opened this issue 2 months ago • 9 comments

If (I am unsure if two-factor authentication can be disabled) you attempt to sign into your Apple Account while in remote server mode, it will ask for a six-digit code. This code cannot be attained, as it does not appear on any of the devices linked to the apple account. It also requires two-factor authentication, unlike with a manual cable connection; no two-factor authentication prompt would occur when signing in when linking to a computer cable.

Thought-1915 avatar Sep 15 '26 21:09 Thought-1915

I have the same problem. It's a secondary apple id and don't have any Apple devices associated with this one, so 2FA codes generally go to SMS. When AltStore asks for a 2FA code, no SMS gets sent (and since I don't have any Apple devices associated with it, I can't do the offline get code trick from the Settings app).

dapetcu21 avatar Sep 16 '26 19:09 dapetcu21

Usually, when 2FA is required, in the offchance that it does not work, it lets you send the code again to Apple Devices or use SMS as an alternative. It does not let me do neither of the two in AltStore.

(and since I don't have any Apple devices associated with it, I can't do the offline get code trick from the Settings app).

I attempted that on my end, since I have an associated Apple device. It appears that this option was quietly removed from newer iOS and macOS versions, as it does not seem to exist on my end.

This is purely spectulation, but I think there is a problem, when contacting the VPN, to re-route the sign-in request--and only the sign-in request--to Apple servers.

Thought-1915 avatar Sep 16 '26 20:09 Thought-1915

Same issue here, using a secondary apple ID with no devices associated (so 2FA over SMS is the only option) and the code never arrives.

spitfirex86 avatar Sep 16 '26 20:09 spitfirex86

Did some experimenting and found the cause of this - it's the locale AltStore sends to Apple. If your language's region differs from your device region (e.g. English with Slovakia set as the region), iOS and macOS report the locale as en_US@rg=skzzzz, and then you get an empty HTTP 500 from Apple 2FA endpoints. Sign-in still accepts it, which is why you get the code prompt but no code arrives (neither by push nor by SMS).

I've opened a PR to fix this: https://github.com/rileytestut/AltSign/pull/58

In the meantime, check 'Settings → General → Language & Region' and see whether your language region and your main Region differ. Setting these two to match could alleviate the issue until the fix is merged (I only tested the code change, not this workaround tho).

IgoSzaFIIT avatar Sep 19 '26 09:09 IgoSzaFIIT

Can confirm the workaround works

dapetcu21 avatar Sep 19 '26 10:09 dapetcu21

Can confirm the workaround works

I tried this workaround by setting the language and regions to both en_US. I did the same thing for de_DE. Neither appear to work on my end. I would like to ask which locale and language worked for you on your end as the temporary workaround.

Thought-1915 avatar Sep 19 '26 16:09 Thought-1915

It worked with ro_RO for me

dapetcu21 avatar Sep 19 '26 16:09 dapetcu21

I can confirm the issue exists in Spain, with en_US locale

vinczemarton avatar Sep 20 '26 15:09 vinczemarton

workaround worked with italian region too, thanks 🙏

ssebastianoo avatar Oct 06 '26 20:10 ssebastianoo