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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more error pairs to isMultifactorCodeInvalid [SDK-4195] #779

Merged
merged 1 commit into from
Jun 20, 2023

Conversation

Widcket
Copy link
Contributor

@Widcket Widcket commented Jun 15, 2023

  • All new/changed/fixed functionality is covered by tests (or N/A)
  • I have added documentation for all new/changed functionality (or N/A)

馃搵 Changes

This PR expands the pairs of error code + error description checked inside the AuthenticationError property isMultifactorCodeInvalid, to include the following pairs:

Error code Error description
invalid_grant Invalid otp_code.
invalid_grant Invalid binding_code.
invalid_grant MFA Authorization rejected.

馃幆 Testing

Besides adding unit tests for the new pairs, the changes were tested manually using a simulator running iOS 16.4, with Xcode 14.3 (14E222b).

@Widcket Widcket requested a review from a team as a code owner June 15, 2023 22:12
Copy link
Contributor

@poovamraj poovamraj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@Widcket Widcket merged commit eba79b5 into master Jun 20, 2023
9 checks passed
@Widcket Widcket deleted the feature/add-isMultifactorCodeInvalid-cases branch June 20, 2023 07:45
@Widcket Widcket mentioned this pull request Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants