Closed
Bug 919157
Opened 8 years ago
Closed 8 years ago
Provide FirefoxOS support for Persona realms logout
Categories
(Core Graveyard :: Identity, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: jedp, Assigned: jedp)
Details
(Whiteboard: [qa+])
Attachments
(1 file)
|
1.19 KB,
patch
|
Details | Diff | Splinter Review |
In order to support SSO on Persona [1][2], I think we need some client-side code to enable the logout feature. Currently, logout does not work properly on FirefoxOS.
STR:
Configure your b2g device to use the ephemeral realms persona server:
pref("toolkit.identity.uri", "https://realms.personatest.org");
Now:
- Visit https://realms1.personatest.org/ and sign in
- Visit https://realms2.personatest.org/ and you should be auto signed in (yay)
- Now sign out of either site
Expected:
- You are automatically signed out of both sites
- On page reload, you remain signed out
Actual:
- You can't sign out. Page reload is futile.
[1] SSO issue: https://github.com/mozilla/browserid/issues/2555
[2] PR providing SSO: https://github.com/mozilla/browserid/pull/3854| Assignee | ||
Comment 1•8 years ago
|
||
This is the bit that needs to work on b2g: https://github.com/mozilla/browserid/pull/3854/files#L10R1625 Data siloing and the discarding of the persona iframe for each RP when it's not in active use may likely mean that there's a need for client-side platform code to make this work. I don't know at this time how we can support this for prior versions of FirefoxOS, but for future versions, I suspect we're going to have to have a hook in our hosted internal_api that signals to the native code to sign out all RPs that share the same realm.
Comment 2•8 years ago
|
||
Is this a dup of what is logged in https://github.com/mozilla/browserid/pull/3854#issuecomment-24166766? If so, this is a universal breakage.
Comment 3•8 years ago
|
||
> Is this a dup of what is logged in
> https://github.com/mozilla/browserid/pull/3854#issuecomment-24166766? If so,
> this is a universal breakage.
:jedp, disregard this, :seanmonstar already took care of that issue.| Assignee | ||
Updated•8 years ago
|
Blocks: fxos-accounts
| Assignee | ||
Comment 4•8 years ago
|
||
Persona bug for BrowserID internal_api updates that will be necessary to support this: https://github.com/mozilla/browserid/issues/3915
Updated•8 years ago
|
Whiteboard: [qa+]
| Assignee | ||
Comment 5•8 years ago
|
||
This sort of works. It causes logout from one RP to trigger logout from the others in the same realm. But page reload still logs you back in. Hm...
| Assignee | ||
Updated•8 years ago
|
Assignee: nobody → jparsons
| Assignee | ||
Comment 6•8 years ago
|
||
With the current Persona API proposals, we're not looking at supporting realms. Also, as far as FirefoxOS and Firefox Accounts is concerned (bug 920135), we won't be using the persona flow, so this bug isn't relevant to that.
Updated•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•