Skip to content
This repository has been archived by the owner on May 10, 2019. It is now read-only.

support app:// prototocol in validator for FirefoxOS #2965

Closed
jedp opened this issue Jan 24, 2013 · 1 comment
Closed

support app:// prototocol in validator for FirefoxOS #2965

jedp opened this issue Jan 24, 2013 · 1 comment

Comments

@jedp
Copy link
Contributor

jedp commented Jan 24, 2013

Apparently gaia apps give their origin as app://foo instead of http://foo. This does not pass the persona origin validator.

As a result, users will receive a red "There has been an error" message when trying to log in with unverified email and/or forced issuer. The error message will say something about an invalid origin.

I had never noticed this, because building gaia with DEBUG=1 transforms all the app:// origins to http://, and I always build with DEBUG=1 so I can do testing. Such is life.

@jds2501
Copy link

jds2501 commented Jan 24, 2013

I should note that fixing this is required to use persona in a packaged app. So this is definitely a bad bug.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants