Closed Bug 1100937 Opened 10 years ago Closed 10 years ago

[Loop] "Use Firefox Accounts" button doesn't work when user tries to authenticated with an unverified account

Categories

(Firefox OS Graveyard :: Gaia::Loop, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: lolimartinezcr, Unassigned)

References

Details

(Whiteboard: [mobile app])

Attachments

(1 file)

flame user v2.1 188based Gecko-afcde84 Gaia-81160ad STRs: 1. Taps "Use Firefox Accounts" 2. Insert invalid FxA (in my case: hhh@jj) and clicks "Next" button. 3. Select a year and clicks "Next" button. 4. Insert a valid password and clicks "Done" button. 5. Taps "Use Firefox Accounts" Actual result: "Use Firefox Accounts" button doesn't work. (See attached video: http://youtu.be/9ioiOu4buEg ) Expected result: "Use Firefox Accounts" button works and user can see next screen.
Attached file trazas.txt
Blocks: 1036490
QA Whiteboard: [TEF-Track]
Whiteboard: [mobile app]
Loop version: 1.1, 38eadf0
You need to check for the ERROR_UNVERIFIED_ACCOUNT error [1] and show the appropriate UI. [1] https://mxr.mozilla.org/mozilla-central/source/services/fxaccounts/FxAccountsManager.jsm#527
Summary: [Loop] "Use Firefox Accounts" button doesn't work when user authenticate with invalid mail. → [Loop] "Use Firefox Accounts" button doesn't work when user tries to authenticated with an unverified account
(In reply to Loli (:lolimartinezcr) from comment #0) > STRs: > 1. Taps "Use Firefox Accounts" > 2. Insert invalid FxA (in my case: hhh@jj) and clicks "Next" button. > 3. Select a year and clicks "Next" button. > 4. Insert a valid password and clicks "Done" button. Loli, I don't understand how you can enter an invalid e-mail and later a valid psw. Can you explain it better? Thanks a lot!
Flags: needinfo?(lolimartinezcr)
(In reply to Maria Angeles Oteo (:oteo) from comment #4) > (In reply to Loli (:lolimartinezcr) from comment #0) > > > STRs: > > 1. Taps "Use Firefox Accounts" > > 2. Insert invalid FxA (in my case: hhh@jj) and clicks "Next" button. > > 3. Select a year and clicks "Next" button. > > 4. Insert a valid password and clicks "Done" button. > > Loli, I don't understand how you can enter an invalid e-mail and later a > valid psw. Can you explain it better? Thanks a lot! Sorry, in step 4, where you can see "valid password" I want to say "invented password"
Flags: needinfo?(lolimartinezcr)
This is not happening because the email is not valid (which it is, even if it doesn't exist). You are creating a new FxA and you are asked to create the password for it. If you read the last screen of the FxA flow it says that you have to go to your inbox and verify the new created account. Until the account is verified it won't be usable for Loop, that's why it is failing in the login step. In this case you will never be able to verify the account cause the email that you entered does not exist, although is a valid email address. What needs to happen here is that Loop checks for the ERROR_UNVERIFIED_ACCOUNT coming from the mozId API when the user tries to log with an unverified account and show a proper error screen in this case.
I completely agree with Fernando, I am closing the bug as Invalid
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
See Also: → 1101706
I have created bug 1101706 in order to improve the feedback that currently we are offering to the user when trying to log in Loop via FxA with a non verified e-mail address. Thanks a lot Loli for raising this issue and Fernando for your help!
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: