Skip to content

Adding Apple 2FA (SMS confirmation) for login - #32

Open
mindflowgo wants to merge 1 commit into
nab138:mainfrom
mindflowgo:sms-2fa-id-recovery
Open

mindflowgo wants to merge 1 commit into
nab138:mainfrom
mindflowgo:sms-2fa-id-recovery

Conversation

@mindflowgo

Copy link
Copy Markdown

Prior code failed when Apple rejected login with 412 (SMS 2FA)...

This code just touches the 2 places to enable that capability. Tested logging in to account that logged in without 2FA trigger, and one that did have 2FA trigger. Both worked.

Pick the real trusted number id before requesting the SMS code, and
when Apple answers 412 for a number id that is not on the account,
parse the challenge's trusted numbers and let the user pick through
the two-factor callback instead of aborting the login.
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.

1 participant