Closed
Bug 1057033
Opened 11 years ago
Closed 10 years ago
After sign in, user is prompted to sign in again
Categories
(Marketplace Graveyard :: Payments/Refunds, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: krupa.mozbugs, Unassigned)
References
Details
(Keywords: regression)
Attachments
(4 files)
Connectivity: wifi
SIM used: movistar Spain
Gaia/device: 1.4/hamachi
steps to reproduce:
1. Tester is not logged in
2. Search for :paid
3. Start the purchase of a paid app
4. Sign in using persona
expected behavior:
After sign in, user is prompted to create/enter PIN
actual behavior:
After sign in, user is prompted to sign in again
pastebin of verbose logging: https://pastebin.mozilla.org/6086676
Comment 1•11 years ago
|
||
according to logs this is on stage
Comment 2•11 years ago
|
||
I just did this on stage and wasn't asked to login a second time albeit on a Keon running 1.3.
Krupa: from your logs I can't see you have got as far as the app. Can you retry the STR and provide more logs covering that, as that might provide some insight as to what's happening.
Flags: needinfo?(krupa.mozbugs)
Updated•11 years ago
|
Priority: -- → P2
Comment 3•11 years ago
|
||
preserving the pastebin before it disappears
Reporter | ||
Comment 4•11 years ago
|
||
I am testing on 1.4/hamachi.
Make sure you are not logged in when you start the purchase flow.
Flags: needinfo?(krupa.mozbugs)
Comment 5•10 years ago
|
||
So after much flashing of the hamachi device I have I'm not able to get the device in a usable state with 1.4 in order to test it.
1.3 on the hamachi appears to work correctly.
Interestingly this does seem similar to the issues seen on desktop where persona always fires onlogout every single time.
Do we know what releases are going to hit devices in the wild? Looking at this doc it's a bit cloudy https://developer.mozilla.org/en-US/Firefox_OS/Developer_phone_guide/Phone_specs
Flags: needinfo?(krupa.mozbugs)
Reporter | ||
Comment 6•10 years ago
|
||
Right now, these two bugs are blocking me from getting you more logs
https://bugzilla.mozilla.org/show_bug.cgi?id=1061923 on 1.4
https://bugzilla.mozilla.org/show_bug.cgi?id=1060376 on 2.1
Flags: needinfo?(krupa.mozbugs)
Reporter | ||
Comment 7•10 years ago
|
||
Reporter | ||
Comment 8•10 years ago
|
||
Comment 9•10 years ago
|
||
Ah, I think I see the connection between this and bug 1061923
In both cases loggedInUser is not set in the page. When persona calls onReady bug 1061923 happens because we only do the impliedLogin if loggedInUser is set. For this case loggedInUser isn't set so onLogout fires which causes you to see the login again.
Comment 10•10 years ago
|
||
The need to login twice is also seen on the desktop and I can see data-logged-in-user not being set in webpay there too.
E.g.
If you visit /developers and are logged in and then go to /mozpay/?req=foo if you introspect the page the data-logged-in-user is unset.
Comment 11•10 years ago
|
||
This is fixed with the move to Firefox Accounts.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•