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

Fixes for the SMS 2FA #152

Merged
merged 5 commits into from
Aug 16, 2024
Merged

Fixes for the SMS 2FA #152

merged 5 commits into from
Aug 16, 2024

Conversation

hichamboushaba
Copy link
Member

@hichamboushaba hichamboushaba commented Aug 12, 2024

This PR aligns with the changes of the FluxC PR.
With the change to revert to the /token endpoint, we won't be getting a list of supported authentication types during the login, so this PR updates the logic of the visibility of the "Send SMS" button to account for this.

Testing

Check the PR woocommerce/woocommerce-android#12319

@hichamboushaba hichamboushaba changed the title Fix SMS 2FA Fix for the request to trigger a 2FA SMS Aug 12, 2024
@hichamboushaba hichamboushaba changed the title Fix for the request to trigger a 2FA SMS Fixes for the SMS 2FA Aug 12, 2024
@hichamboushaba hichamboushaba force-pushed the fix-sms-2fa branch 2 times, most recently from ec97391 to 938224d Compare August 13, 2024 17:24
maven {
url "https://a8c-libs.s3.amazonaws.com/android/jcenter-mirror"
content {
includeVersion "com.android.volley", "volley", "1.1.1"
Copy link
Member Author

Choose a reason for hiding this comment

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

I had to add this to make the CI work, I'm not sure what caused the new failures 😕, looking at maven listing of this dependency, we can see it's not available in neither the Google nor the Maven Central repositories, this line should have been needed even before 🫤.

cc @ParaskP7 any ideas.

Anyway, this PR is urgent, and this should block the merge regardless of the cause.

Copy link
Contributor

Choose a reason for hiding this comment

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

👋 @hichamboushaba and thanks for the ping!

Yea, I am not 100% sure what happened there, but this seems pretty similar to this other case of such a miss (p1723103849516809/1723070238.781829-slack-C036Y8QL4). 🤔

I think that jcenter [link] is just deleting artifacts in general, maybe more aggressively nowadays, and we just can’t download that specific one from anywhere atm (or at least from those 2 places that we know of: [1] + [2]). It is good that we at least have there available on our own jcenter-mirror repo. 🍀

PS: Thanks for making it work for yourselves by adding the jcenter-mirror configuration, just like it was done on multiple other repos of ours. 🥇

@hichamboushaba hichamboushaba marked this pull request as ready for review August 15, 2024 12:30
@ThomazFB ThomazFB self-assigned this Aug 15, 2024
Copy link
Contributor

@ThomazFB ThomazFB left a comment

Choose a reason for hiding this comment

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

Tested and approved from woocommerce/woocommerce-android#12319

@hichamboushaba hichamboushaba merged commit ac70b6d into trunk Aug 16, 2024
8 checks passed
@hichamboushaba hichamboushaba deleted the fix-sms-2fa branch August 16, 2024 07:50
wzieba pushed a commit that referenced this pull request Oct 15, 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.

3 participants