After some discussion on the pull request, it was highly suggested that we
require HTTPS for the browserid-realm file. This does not mean every site
that is part of the realm needs to be served over HTTPS, only the
.well-known file. Since we require HTTPS, that means we can drop the scheme
from the `realm` property in the watch() function.
navigator.id.watch({
realm: '
foo.com'
});
Since the individual sites can still be HTTP or HTTPS, the scheme is still
required in the array in the browserid-realm file.
Other notes:
Security review of the Realms features is schedule for tomorrow, Sept 10th.
Also, still need feedback or support from Native team to make sure this
works with FirefoxOS.
> If you just want to play with it RIGHT NAOW, I set up an example RP that
> is using the awsbox I've deployed:
>
http://static.seanmonstar.com/persona/realms.html
> After logging into 1, hitting the link to the other page in the realm (the
> subdomain is different) should get you automatically logged into it.
>
>
> jbuck, lcrouch, etc - Those who want to test it against their own sites
> can use it at
https://realms.personatest.org. Simply use that domain
> wherever you normally use
login.persona.org, including the verifier.
>
> Shane, Jared, etc - Besides general review, I had some confusion on when
> `email` should be set or removed vs `logged_in` in site storage. I tried to
> include tests for each state the user could be in. There is also a B2G
> issue that needs some eyeballs/explaining.
>
> Jed, Ozten, etc - I altered a test for `BrowserID.internal.get`, since I
> wanted it to use the same code path everything else was using, which is
> User.getSilentAssertion(). However, doing that, I broke said test. I
> couldn't understand what that test was testing, so that needs some help.
> There's a comment at the test explaining my WTF.
>