wordpress-mobile/WordPressAuthenticator-iOS

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

Opened this issue · 1 comments

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

  • Get into the "Get Started" flow to log in with a WPCom account.
  • Enter the email of your account and tap Continue.
  • If your account is not allowed to log in with email, a new screen is displayed asking for WPCom username. The copy on this screen asking for store credential for WP.com.
  • Tap back, and retry the login. Notice that the loading indicator shows on the Continue with Apple button.

Screencast

Simulator.Screen.Recording.-.iPhone.14.Pro.-.2023-01-06.at.15.40.24.mp4

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: woocommerce/woocommerce-ios#9040.