woocommerce / woocommerce-android

WooCommerce Android app
https://www.woocommerce.com/mobile
GNU General Public License v2.0
277 stars 134 forks source link

Unable to Log into App with Black-flagged Sites #12031

Open pmusolino opened 1 month ago

pmusolino commented 1 month ago

Description

When users attempt to log into the app with a black-flagged site URL, they receive an error message stating the URL is invalid and are unable to proceed with login.

Steps to Reproduce

  1. Open the iOS app.
  2. Enter the URL of a black-flagged site.
  3. Observe the error message indicating the URL is invalid.

Expected Behavior

Users should be able to proceed with login using site credentials even if the site is black-flagged, as long as it is not connected to Jetpack or using any of our Marketplace extensions.

Actual Behavior

Users receive an error message and cannot proceed with the login process.

To be implemented

When the app detects a blacklisted website using the /site-info endpoint, it should consider it as a non-Jetpack website. The app should then offer only the option to sign-in using site credentials (application password), ensuring that users are not allowed to connect to Jetpack.

References

peaMlT-JX https://github.com/woocommerce/woocommerce-ios/issues/13348

dangermattic commented 1 month ago

Thanks for reporting! 👍