Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

Validate user who has deleted their email address on GitHub #369

Open
johndbritton opened this issue Oct 24, 2019 · 0 comments
Open

Validate user who has deleted their email address on GitHub #369

johndbritton opened this issue Oct 24, 2019 · 0 comments
Labels
help-wanted Looking for help from open source contributors
Projects

Comments

@johndbritton
Copy link
Contributor

During the sign up flow, a User is created in the new state and promoted to set their email and accept terms.

The email is chosen from the list of verified emails attached to their GitHub account.

We have a validation on user save in all states besides new that requires the email attribute be one of the emails that are verified on the GitHub account.

There's a bug that exists when a user chooses a verified email and successfully enters the registered state, but then they delete that verified email address from their GitHub account.

Because of the validation, we can no longer save the record and the user cannot progress through the other states.

This is working as designed, but also causes issues for the user including an infinite redirect during sign in if the selected email address is no longer verified or has been removed from the associated GitHub account.

We should make a fix for this case. Some options:

  1. Only run the email validation on the registered state
  2. Prompt the user to select an email address if the current email address is not valid
  3. Something else?

cc/ @MattIPv4 as an FYI

@johndbritton johndbritton added the help-wanted Looking for help from open source contributors label Oct 24, 2019
@MattIPv4 MattIPv4 added this to Triage in 2020 via automation Jul 24, 2020
@MattIPv4 MattIPv4 moved this from Triage to P2 - If time allows in 2020 Jul 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help-wanted Looking for help from open source contributors
Projects
2020
  
P2 - If time allows
Development

No branches or pull requests

1 participant