Closed Bug 1052625 Opened 10 years ago Closed 10 years ago

Add in account information to consumer-info

Categories

(Marketplace Graveyard :: API, defect, P2)

2014-Q3
x86
macOS
defect

Tracking

(Not tracked)

VERIFIED FIXED
2014-09-30

People

(Reporter: andy+bugzilla, Assigned: mstriemer)

References

Details

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
Summary: Add in account information too consumer-info → Add in account information to consumer-info
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: → 1038936
Assignee: nobody → ashort
(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?
Assignee: ashort → mstriemer
Putting this in the account settings endpoint, PR: https://github.com/mozilla/zamboni/pull/2558.
Status: NEW → ASSIGNED
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
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2014-09-30
Verified as fixed using STR from hidden after FxA login section of bug 1052864, comment #26
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.