Closed Bug 704929 Opened 14 years ago Closed 14 years ago

Refresh of dashboard is removing browserid login

Categories

(Web Apps Graveyard :: AppsInTheCloud, defect, P2)

x86
macOS
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: onecyrenus, Assigned: ianbicking)

Details

(Whiteboard: client)

Unsure if this is expected functionality or not, but a refresh of the webpage myapps.mozillalabs.com causes browser id login to be presented.. essentially logging out the user for each refresh.
Perhaps we should persist the user session somehow?
Component: Dashboard → AppSync
Priority: -- → P2
QA Contact: dashboard → appsync
Yes, it's been a bit of a question what we should persist I suppose. If we persist the token that we get from the server, we can re-try it. But we don't have as well defined a process when the token is expired. Perhaps we should just do a GET immediately on load, and if it fails in 401 then consider ourselves logged out (as opposed to trying /verify on load).
Solution to be implemented: Instead of saving the assertion, we should save the response from /verify, and dive right into making requests without reverifying the assertion on load.
Assignee: nobody → ianb
Whiteboard: client
https://github.com/mozilla/openwebapps/commit/bd721e9ebc91319802fd74cdeb1bcd67bf27277b (Unfortunately I got distracted halfway through and ended up putting other changes in withthat commit) Not yet merged or deployed.
deployed on myapps
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Product: Web Apps → Web Apps Graveyard
You need to log in before you can comment on or make changes to this bug.