mozilla/browserid — Issue #1049: User with both primary and secondary accounts is incorrectly re-challenged for password
Author: jrgm
Created: 2012-02-03 00:15:15+00:00
State: open

1) Start with a new browser profile. Go to myfavoritebeer.org and sign-in with email1@gmail.com (going through the normal 'Check your email' steps).

2) Logout from myfavoritebeer.org. Click sign-in again and choose 'Use a different email'. Use a primary email address, e.g., email2@eyedee.me (either an existing account or a new one).

3) Stop the browser, and start again with a new browser profile. (Or alternatively, clear the entire cache/cookies/etc.).

4) Go to myfavoritebeer.org and use email1@gmail.com to sign-in, entering the
password for that account. Make sure email1@gmail.com is the selected account
and click 'sign in'. You are now logged in again to mfbeer OK.

5) Logout of myfavoritebeer.org, and then click 'Sign in' again. From the sign_in dialog, choose email2@eyedee.me. You get the 'Verify with email provider' screen. Click Verify. Enter password at eyedee.me. You are now logged in to myfavoritebeer.org again OK. Sign out.

Now the bug:

6) Click 'Sign in'. Select email1@gmail.com and click 'sign in'.

Expected:
I should just be signed in with no further action.

Actual:
I am challenged for the password for email1@gmail.com again.

After this, though, I can login and logout with either account with no further challenges.