Closed Bug 1049982 Opened 10 years ago Closed 10 years ago

Prompted to create account with username or email address which is already in use

Categories

(developer.mozilla.org Graveyard :: Sign-in, defect)

defect
Not set
blocker

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: shobson, Assigned: jezdez)

References

Details

Attachments

(4 files, 1 obsolete file)

When logging in with GitHub for the first time I was prompted to create an MDN account with a username and email address that were already taken.

If the user's GitHub username/email is already taken but they do not want to link to an existing account we should leave the field blank with a note that they can't use the same one as they do on GitHub.
This is related to bug #1036129. We can't right now merge accounts per se as it means we'd have to rewrite the ownership of all db entries like wiki pages, demo submissions etc. Instead we should explain the user to login first and then redirect to the connect workflow instead of the signup process for Github.
Summary: Promoted to create account with username or email address which is already in use → Prompted to create account with username or email address which is already in use
Can we get a flowchart depicting what should happen here? Can just be a sketch, but it sounds complex enough that we should model it. This will also help us understand what copy or other assets we need.
Severity: normal → major
Flags: needinfo?(shobson)
I think we need to do three things:

1) Make changes to the Create Account page providing users information on how to connect GitHub to an existing account.

2) Detect matching usernames and email addresses and prompt users to connect accounts.

3) If a matching username or email is detected and the user doesn't want to associate the two accounts, not pre-fill the username and email fields.

I will provide a user flow and some mockups for this on Tuesday.
:shobson All of these points are easy to implement, they have in fact much in common with bug #1036129.

For 3) I just wanted to suggest that adding a number or something similar to the end of the proposed username in case of a match with an existing user may be sensible as well. Or is that a UX anti-pattern from the 90s?
:jezdez I wouldn't want to add the number for them, I'd prefer they picked something relevant to themselves so they can remember it.
Attached image no-account-found
I like the work :jezdez has been doing to make it so that the user can click a link and sign in with persona to associate their accounts (without signing in to github again!) 

This is the first of a few mockups for how that link should be presented. This case is if there does not appear to be a MDN account.
Flags: needinfo?(shobson)
Attached image github-account-detected (obsolete) —
If we think the user has an existing account, here's how we can prompt them to connect it.
If the user submits the form and we detect a problem here are the error messages to display with links to help them sort out the problem.

The "recover your account" email is intended to link to a form that no longer exists (as discussed on bug #1036129) and might have to chance as a result of the discussion there.

:jezdez and I discussed moving the errors inline and I still think that is the best thing to do, but it was faster for me to make the mockup using the existing display ;)
(In reply to Stephanie Hobson [:shobson] from comment #6)
> Created attachment 8471256 [details]
> no-account-found
> 
> I like the work :jezdez has been doing to make it so that the user can click
> a link and sign in with persona to associate their accounts (without signing
> in to github again!) 
> 
> This is the first of a few mockups for how that link should be presented.
> This case is if there does not appear to be a MDN account.

:shobson - without "popping" the design straight to design hell [1], is there a way to make it more noticeable? This is the prompt that will preempt them from entering "dual account limbo" so I personally want to err on a more prominent prompt here to save them from the nightmare UX of dual accounts. :/

And/or, :jezdez - do we scan *all* the user's GitHub emails to check for an existing MDN account?

[1] http://theoatmeal.com/comics/design_hell
Flags: needinfo?(shobson)
Flags: needinfo?(jezdez)
:groovecoder, yes, we do (if they are verified on Github): https://github.com/mozilla/kuma/pull/2647/files#diff-fb446f2bc8a4fef46cf69ccb0b13f7cbR350
Flags: needinfo?(jezdez)
(In reply to Luke Crouch [:groovecoder] from comment #9)

> :shobson - without "popping" the design straight to design hell [1], is
> there a way to make it more noticeable? 

Are you concerned about the no match found state or about all the states?
Flags: needinfo?(lcrouch)
Assignee: nobody → jezdez
Just the "no match found" state. Just want to make *extra* sure that the user really doesn't have an existing MDN account to discourage them from accidentally creating a new MDN account if they already have one.
Flags: needinfo?(lcrouch)
:groovecoder I think a user with an existing account will either:

1) be actively looking for a way to connect accounts
2) try to use the same username 
3) try to use the same email address

Either way we will catch them. #fingerscrossed

I don't want to throw bright stuff at the users creating new accounts if we have no reason to.

That said, we have a strong use case for making this pop for the first month or so after implementing it. We could A/B test displaying the yellow banner for "no account detected" for the first week and then continue with the best option after that. I would want to track which banner got more clicks as well as which banner caused more drop-offs in the sign in process. Not sure the second one is possible? :openjck?
Flags: needinfo?(lcrouch)
Flags: needinfo?(jkarahalis)
I've implemented the mockups :shobson has proposed here in pull request https://github.com/mozilla/kuma/pull/2647

Please see the list of things I've done in its pull request description.
Also, as you can see, I've rolled in the changes from bug #1036129 into this as it was overlapping code changes quite a bit. The original PR was https://github.com/mozilla/kuma/pull/2658.
Blocks: 1050406
(In reply to Stephanie Hobson [:shobson] from comment #13)
> :groovecoder I think a user with an existing account will either:
> 
> 1) be actively looking for a way to connect accounts
> 2) try to use the same username 
> 3) try to use the same email address
> 
> Either way we will catch them. #fingerscrossed
> 
> I don't want to throw bright stuff at the users creating new accounts if we
> have no reason to.
> 
> That said, we have a strong use case for making this pop for the first month
> or so after implementing it. We could A/B test displaying the yellow banner
> for "no account detected" for the first week and then continue with the best
> option after that. I would want to track which banner got more clicks as
> well as which banner caused more drop-offs in the sign in process. Not sure
> the second one is possible? :openjck?

It should be possible to test both of these. What should the variations be? One bright yellow banner and one more subdued banner, like in comment 9?
Flags: needinfo?(jkarahalis)
:openjck that's exactly what I was thinking. You just need to add the class "warning" to the grey notification to make it into the yellow one.
Flags: needinfo?(shobson)
Importing :groovecoder's comments from https://github.com/mozilla/kuma/pull/2647:

> The sign-up page showed me: 
> 1. error message that my github username was taken, 
> 2. strike-thru styling on my email to indicate it was taken, and 
> 3. MDN found an existing account. mdn-existing-user-signup While it gave me lots of information, it feels a little disjointed. 
> Is there any way we can combine these 3 pieces of information into a single prominent display. "HEY! WE ARE 99% SURE WE FOUND YOUR EXISTING MDN ACCOUNT. PLEASE CONNECT IT!"
Attached image github-account-detected
How in their face do we want to be about this? 

We could go so far as to block account creation until they've looked their avatar in the face and denied that it's them. (see attachment).
Attachment #8471257 - Attachment is obsolete: true
:shobson +1 on being bold, less surprises that way, too
+1 on being bold and I like that big prompt there.

:shobson - can you copy that mock-up as a follow-up bug? Your choice whether it should block production launch.
Flags: needinfo?(lcrouch)
Severity: major → blocker
Created Bug #1055207 for follow up. Closing this one.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
I haven't been able to prioritize those A/B tests yet. In light of bug 1054449, do we still want to run them?
Well, part of me is still interested in an academic way whether or not a grey message gets more attention than a yellow one but, no, we do not need these tests anymore.
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: