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

[Issue-578] - adjust AuthOptionsResponse parser decode #590

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

anettodev
Copy link

@anettodev anettodev commented Jul 4, 2024

When the user has a 2FA with security keys (yubikey), the AuthOptionsResponse cannot be parsed because securityCode attribute is not optional and the AuthenticationError.accountUsesUnknownAuthenticationKind is never shown.

The correct authType for security keys is not implemented and needs to check more the documentation for this.

PS: also, I have updated some missing pt-br localization strings @MattKiazyk

Before:
Screenshot 2024-07-04 at 00 02 09

After
Screenshot 2024-07-04 at 00 02 09

@anettodev
Copy link
Author

If someone can provide a better doc about idmsa.apple.com/appleauth/auth, "X-Apple-ID-Session-Id", "scnt", "X-Apple-Widget-Key", I can dig a little more.

Already checked the
https://developer.apple.com/documentation/sign_in_with_apple/sign_in_with_apple_rest_api

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.

None yet

1 participant