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

[Login] Fix the logic of triggering an SMS OTP #3078

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

hichamboushaba
Copy link
Member

@hichamboushaba hichamboushaba commented Aug 12, 2024

As identified in woocommerce/woocommerce-android#12304, we have two issues with SMS 2FA. This PR fixes one of them: fix the broken button to trigger sending an SMS notification, the fix is to indicate that our client supports 2fa by passing the argument wpcom_supports_2fa with the request.

For the second part, I will create a separate PR as involves some changes to the login library, and this fix is the more urgent one as it should unblock the users when attempting to login.

Testing

Please check woocommerce/woocommerce-android#12306

@hichamboushaba hichamboushaba changed the title [Login] Fix SMS 2FA issues [Login] Fix the logic of triggering an SMS OTP Aug 12, 2024
@hichamboushaba hichamboushaba marked this pull request as ready for review August 12, 2024 19:50
@JorgeMucientes JorgeMucientes self-assigned this Aug 13, 2024
Copy link
Contributor

@JorgeMucientes JorgeMucientes left a comment

Choose a reason for hiding this comment

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

Great job at finding the culprit of this issue. Tested it and 2fa via SMS now works as expected.

:shipit:

@JorgeMucientes JorgeMucientes merged commit 7e2c1db into trunk Aug 13, 2024
13 checks passed
@JorgeMucientes JorgeMucientes deleted the login/fix-sms-2fa branch August 13, 2024 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants