Skip to content

Social Login: can log in using social login even if email address is replaced #50298

Open
@worldomonation

Description

@worldomonation

Steps to reproduce the behavior

Prereq. Have a social login.

  1. Sign up for a new account at /start
  2. Log in using a Google account.
  3. Complete new user onboarding.
  4. Go to Me > Account Settings.
  5. In the Email Address field, enter a new email address that is not Gmail.
  6. Confirm and verify the changes by clicking on the link that is sent to the new email address.
  7. Under Me > Account Settings, confirm the new email address is shown.
  8. Log out.
  9. From wp-login, choose to log in using Google account.
  10. Use the Google account used in Step 2.

What I expected to happen

Google login is not permitted as the WordPress.com account associated with the Gmail account now has another email address associated with it.

What actually happened

Google login is successful.

Context

Back to basics user testing.

Browser / OS version

OS: macOS Big Sur 11.1 (20C69)
Browser: Firefox Nightly 87.0a1
Browser: Safari Version 14.0.2 (16610.3.7.1.9)

Is this specific to the applied theme? Which one?

No

Does this happen on simple or atomic sites or both?

Only tested on Simple.
Atomic unknown.

Is there any console output or error text?

No.

Level of impact (Does it block purchases? Does it affect more than just one site?)

Minor/Moderate - confusing to user, potential security issue?

Reproducibility (Consistent, Intermittent) Leave empty for consistent.

Consistent.

Screenshot / Video: If applicable, add screenshots to help explain your problem.

Steps 1-5:
https://user-images.githubusercontent.com/6549265/108577553-56d06d80-72d6-11eb-8d7d-031bf4fb92ea.mov

Steps 6-10:
https://user-images.githubusercontent.com/6549265/108577588-710a4b80-72d6-11eb-8deb-39703a68c142.mov

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions