Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.43k stars 1.99k forks source link

Email verification link redirects to reader instead of where you created account #83182

Open allilevine opened 1 year ago

allilevine commented 1 year ago

Quick summary

After creating an account with a new email to comment on a site, you receive a verification link via email. It redirects to the Reader instead of the flow you were in.

The verification link has a redirect_to param. Reported here: p1697640711073149/1697634622.150289-slack-C029GN3KD

Steps to reproduce

  1. In incognito visit a page with a form ( atomic site )
  2. You will get prompted to login
  3. Clicking login, get's you to WP.com login page where I selected to create an account with email
  4. I entered an unused email
  5. I got asked to verify my email
  6. Clicking the email verification link, landed me in Reader - The problem seems to be the URL of the verification link.

What you expected to happen

To return to the same flow you were logging into.

What actually happened

You end up in the Reader.

Impact

All

Available workarounds?

Yes, easy to implement

Platform (Simple and/or Atomic)

Atomic

Logs or notes

To workaround, navigate back to the flow you were in.

davemart-in commented 1 week ago

Moving this to the Loop board