Wordpress-ios: SIWA: Accounts still linked on Apple side return error "A valid email is needed to create a WordPress.com account."

Created on 6 Sep 2019  Â·  8Comments  Â·  Source: wordpress-mobile/WordPress-iOS

Expected behavior

If I disconnect or close my WordPress.com account that was using SIWA, and then try to use SIWA again, I should get a meaningful error message and/or instructions to resolve the issue.

Actual behavior

If I disconnect my WordPress.com from Apple in Calypso (or disconnect in another way, e.g. by closing my WordPress.com account), but I _don't_ disconnect WordPress in my Apple account, when I try to use SIWA again I get this WordPress.com error:

A valid email is needed to create a WordPress.com account.

Steps to reproduce the behavior

  1. Sign up with SIWA (in the app or on the web at WordPress.com).
  2. Disconnect Apple in the WordPress.com social login settings.
  3. Confirm that in your Apple account WordPress is still listed as connected.
  4. Try to log in using SIWA in the app.
Tested on [iPhone XS], iOS [13.1 beta], WPiOS [release/13.2 branch built with Xcode 11 beta]
Sign In With Apple [Status] Stale [Type] Bug

All 8 comments

Hey @rachelmcr .

I don't think this is an issue anymore. I tried develop on iPhone 13.0 and iPad 13.1.2, and after step 4 I didn't get an error, and logged in successfully. Feel free to reopen if you're able to repro.

We received a new report of this happening to an end user in https://github.com/wordpress-mobile/WordPress-iOS/issues/12665.

This report happened with iOS 13.1.2, WPiOS 13.3. (Internal ref: 2410408-zen)

From a user report in 2410408-zen:

When I attempt to create a WordPress account using the new Sign Up with Apple ID option, upon authenticating with Touch ID I get a message from the app that “A valid email is needed to create a WordPress.com account.” I'm on an iPhone 6S, 64GB.

  • iOS 13.1.2
  • WPiOS 13.3
  • iPhone 6S

In this case, the user got stuck at step 1 of the testing steps here—they were not able to sign up in the first place and did not try disconnecting via social login settings.

From a user report in 2399402-zen:

Attempting to sign up with Apple account but continually get error saying a valid email address is needed. It is occurring both on mobile (iPhone) app and Over desktop (mac).

  • App version: 13.2.3
  • iOS 13.1.2
  • iPhone X

In this case, the user got stuck at step 1 of the testing steps here—they were not able to sign up in the first place and did not try disconnecting via social login settings.

The following troubleshooting steps were recommended:

  1. Remove the WordPress App from your Apple ID either using the Apple ID page or on the device by going to iPhone > Settings > Apple ID (name at the top) > Password & Security > Apps Using Your Apple ID.
  2. Completely uninstall the WordPress app and try reinstalling it.

I am not sure yet whether step 2 is necessary so consider giving the next reported case of this step 1 only to start.

@rachelmcr @designsimply @charliescheer - do we know if this has this been reported since WPiOS 13.4 was released?

Looking at 2399402-zen, I see the suggested steps worked for that user at least. I also noticed it happened on the web too... Interesting... 🤔

Anyway, do we know if this is still an issue?

I did a quick search of tickets and this is still happening quite a bit. I'm seeing the error in the logs in these tickets from the past week, all using WPiOS 13.5.1:

  • 2505370-zen
  • 2493838-zen
  • 2493613-zen
  • 2492715-zen
  • 2485441-zen

Thanks @rachelmcr !

This issue has been marked as stale because:

  • It has been inactive for the past year.
  • It isn't in a project or a milestone.
  • It hasn’t been labeled [Pri] Blocker, [Pri] High, or good first issue.

Please comment with an update if you believe this issue is still valid or if it can be closed. This issue will also be reviewed for validity and priority during regularly scheduled triage sessions.

Was this page helpful?
0 / 5 - 0 ratings