Hi,

Le 16/04/2015 02:09, Oleksandr Kyetov a écrit :
> Just give me please any hint on how can I authenticate to the Loop
> Server with existing Firefox Account from NodeJS without usage of
> Firefox Browser?

In order to connect using Firefox Account to loop, you will need to pass
a Firefox Account valid Bearer Token.

In order to get this Bearer token, you will have to authenticate on the
Firefox Oauth server.

You have currently two ways to do that.

  * Using the browser page and the web flow
  * Building a BrowserID assertion and then trade it for a Bearer token.

You can have an example of the second flow here:
https://github.com/mozilla/fxa-oauth-client

For your experiment, you can also build a Bearer token once using the
webflow and using it directly without having to regain it each time.

Have fun,

Rémy

_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media

Reply via email to