Skip to content

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

Closed
anettodev wants to merge 2 commits intoXcodesOrg:mainfrom
anettodev:main
Closed

[Issue-578] - adjust AuthOptionsResponse parser decode#590
anettodev wants to merge 2 commits intoXcodesOrg:mainfrom
anettodev:main

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

@MattKiazyk
Copy link
Contributor

@anettodev support for authentication keys have been added in #617 so I'm going to close this PR.

@MattKiazyk MattKiazyk closed this Oct 13, 2024
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.

2 participants