Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offer MFA Code Resend / Send via SMS function #15

Open
theDevelopper opened this issue Apr 17, 2023 · 0 comments
Open

Offer MFA Code Resend / Send via SMS function #15

theDevelopper opened this issue Apr 17, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@theDevelopper
Copy link

It would be helpful to offer functions that allow to resend the MFA code or send it via different means like the iCloud login does.

I see at least two functions, but there might be more:

  1. Resend Code in case it was not received

  2. Send code via SMS
    On the iCloud login page this triggers a PUT request to https://idmsa.apple.com/appleauth/auth/verify/phone with body

{
    "mode": "sms",
    "phoneNumber": { 
        "id": 1
    }
}

I would trigger the call myself but it requires a bunch of headers that should be available in the iCloud instance this library creates.

@foxt foxt added the enhancement New feature or request label Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants