wordpress-mobile / WordPressAuthenticator-iOS

GNU General Public License v2.0
17 stars 11 forks source link

Strange behavior when trying to log in with a WP.com account while email login is not allowed #721

Open itsmeichigo opened 1 year ago

itsmeichigo commented 1 year ago

Description When logging in with a WP.com account while email login is not allowed, we are displaying a screen asking for WPCom credentials, but the copy is asking for store credentials. After navigating back from that screen, and tap the Continue button again, the loading indicator shows on the Continue with Apple instead.

Steps to reproduce

Screencast

https://user-images.githubusercontent.com/5533851/210955439-413b963b-de5a-4619-b265-d7df41a1e8eb.mp4

itsmeichigo commented 1 year ago

Possible solution: use the same field for both email and username for WPCom login. This is the solution we are using in Woo for the WPCom login flow for Jetpack setup: https://github.com/woocommerce/woocommerce-ios/pull/9040.