Closed Bug 1057012 Opened 10 years ago Closed 10 years ago

When signing up with Persona there is no prompt to associate with existing account if one exists (and other problems).

Categories

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

defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: shobson, Assigned: jezdez)

References

Details

I created an profile that was only connected to GitHub. Then I logged out and signed in with Persona, I was given the prompt to create a profile I was not warned that my email address was already taken and I did not get an error message when I tried to create the profile, it just failed with no error message.

The create profile process when logging in with Persona needs to mirror that of the create profile process when logging in with any other service. They should all provide the option to change the email address, they should all check against existing accounts, they should all offer the option to connect to an existing account.
Blocks: 1046775
Severity: normal → major
Summary: No account exists detection when signing in with Persona → When signing up with Persona there is no prompt to associate with existing account if one exists (and other problems).
Scenario A: User with an existing GitHub Account signs in with Persona email address matching GitHub account. 
1. Prompt to connect Persona to the MDN profile.
1a. "Yes" - Connect Persona to the account and sign them in
2a. "No" - You must use a unique email address to sign up for MDN

Scenario B: User signs in with Persona email address.
1. Prompt to connect to an existing MDN profile.
1a. "Yes" - Invoke GitHub auth to connect
1b. "No" - Create new profile
Blocks: 1052453
I attempted to sign in with my GitHub account and then connect it to my Persona account. After successfully signing in with GitHub, I got a screen that said "Create your MDN profile to continue". On that screen was a box that said "Have an MDN profile already? Yes, connect with my MDN profile"; I clicked that link and got a screen that asked me to sign in with either Persona or GitHub.

At this point, I'm already signed in with GitHub. I'm trying to connect my Persona account. Showing me an option to sign in with GitHub here is probably not the right choice. But I click "Sign in with Persona", type in my email address, authenticate through Google, and I get a grey Persona window that says "Error: Something went wrong. Please try again later." There's a Cancel button and a detail of "Error: Invalid signature".

I went through the whole process again and this time I didn't get the error message; instead I got a screen asking me to pick a username. (I'm assuming this is for the test account.) I pick one and it takes me to the home screen, successfully logged in. So the process works, but it's still a little rocky.
Interesting ... when you clicked "Connect with my MDN profile", do you remember exactly what URL it took you to? I can't reproduce this locally ...
Flags: needinfo?(computersherpa)
I just got the Persona error locally.
I ran into this problem early on in our testing as well (ages ago, when GitHub went alpha).
Assignee: nobody → jezdez
Status: NEW → ASSIGNED
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/6dd40419c1efa5f568162ced8bb44af1d99be0b3
fix bug 1057012 - show connect prompt to MDN users signing in with a Persona email address matching a GitHub account

https://github.com/mozilla/kuma/commit/05abdeb06b6c3dbc45fbfad9c69b66a9e5a15e1f
bug 1057012 - delete unique email constraint

only check for verified emails to find matching accounts

https://github.com/mozilla/kuma/commit/6b7ee26246a69185513f4fb6df2c6c68e2e408ae
fix bug 1057012 - show connect prompt to MDN users signing in with a Persona email address matching a GitHub account

https://github.com/mozilla/kuma/commit/cabddc654fbad7849baf47c5af777d0917cbf316
bug 1057012 - delete unique email constraint

only check for verified emails to find matching accounts

https://github.com/mozilla/kuma/commit/1843b8964b0e8637a059c3af34754f3089a236f9
Merge pull request #2819 from groovecoder/persona-after-github-1057012

fix bug 1057012 - Persona after github
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.