Add in account information to consumer-info

VERIFIED FIXED in 2014-09-30

Status

P2
normal
VERIFIED FIXED
4 years ago
4 years ago

People

(Reporter: andy+bugzilla, Assigned: mstriemer)

Tracking

2014-Q3
2014-09-30
x86
Mac OS X
Points:
---

Details

(Reporter)

Description

4 years ago
We'd like show banners or popups to users as we transition from Firefox Accounts to Persona. So we'll need to be able to figure out what kind of account a user has so we can best tailor the banner or popup.

So I propose adding to the consumer-info end point:
- source (ideally a string not an integer because its more friendly)
- is_verified
(Reporter)

Updated

4 years ago
Summary: Add in account information too consumer-info → Add in account information to consumer-info
(Reporter)

Updated

4 years ago
Priority: -- → P2
It's a bit unfortunate we are putting that much stuff in consumer-info, considering marketplace needs to block on it to render :( Can we do something else, like return something on login only and store it ?
See also bug 1038936 to stop putting waffles in consumer-info.
See Also: → bug 1038936
Assignee: nobody → ashort
(Reporter)

Comment 3

4 years ago
(In reply to Mathieu Pillard [:mat] from comment #1)
> It's a bit unfortunate we are putting that much stuff in consumer-info,
> considering marketplace needs to block on it to render :( Can we do
> something else, like return something on login only and store it ?

The location isn't a huge deal, but ideally we'd want it for those logged in already, so we can present FxA information to users without forcing them to login again. Hopefully this information is only present for a few months.
Any reason we can't put this information in a second, non-blocking request?
(Reporter)

Updated

4 years ago
Assignee: ashort → mstriemer
(Assignee)

Comment 5

4 years ago
Putting this in the account settings endpoint, PR: https://github.com/mozilla/zamboni/pull/2558.
Status: NEW → ASSIGNED
(Assignee)

Comment 6

4 years ago
https://github.com/mozilla/zamboni/commit/245a03092f6ac5dc3ee9432270d8d1e60e6c368c

From https://github.com/mozilla/zamboni/pull/2585 (new PR). There's a new endpoint that well tell if an email address has migrated to FxA and the settings endpoint now shows if the account is verified.
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2014-09-30

Comment 7

4 years ago
Verified as fixed using STR from hidden after FxA login section of bug 1052864, comment #26

Updated

4 years ago
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.