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

Add more error pairs to isMultifactorCodeInvalid [SDK-4194] #664

Merged
merged 1 commit into from
Jun 23, 2023

Conversation

poovamraj
Copy link
Contributor

📋 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.

@poovamraj poovamraj requested a review from a team as a code owner June 20, 2023 08:54
@poovamraj poovamraj merged commit ef24ca5 into main Jun 23, 2023
@poovamraj poovamraj deleted the mfa-error-additions branch June 23, 2023 12:49
@Jessuss21
Copy link

Transferencia a mi cuenta

@poovamraj poovamraj 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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants