Closed Bug 1129158 Opened 7 years ago Closed 7 years ago

Persist Firefox Account credentials to user's profile

Categories

(Firefox for iOS :: Firefox Accounts, defect)

All
iOS 8
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: nalexander, Assigned: nalexander)

References

Details

Attachments

(1 file)

Bug 1126584 embedded a login flow via accounts.firefox.com.  The next step is to persist the account credentials and configuration... somewhere.

Some of this stuff is confidential: sessionToken and (wrapped) keys.  Does it go in the keychain?  The sessionToken is per-device and should not be synced via iCloud.  Is that an issue?

Some of this stuff is configuration: service endpoints, etc.

Some of this stuff is transient: signed certificates that will expire, timestamped tokens, etc.

Presumably this all needs to be per-profile (so that, in theory, we can support profile switching).

This ticket tracks research into where to store things and then implementing the storage interface.
Blocks: 1129161
Depends on: 1126584
Depends on: 1129505
bnicholson: st3fan already looked at most of the code move/remove patches.  Could you look over the last few, as described at https://github.com/mozilla/firefox-ios/pull/135#issuecomment-73334165?
Assignee: nobody → nalexander
Status: NEW → ASSIGNED
Attachment #8565818 - Flags: review?(bnicholson)
Comment on attachment 8565818 [details] [review]
Link to Github pull-request: https://github.com/mozilla/firefox-ios/pull/135

Looks good to me!
Attachment #8565818 - Flags: review?(bnicholson) → review+
Depends on: 1135385
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.