1

I want to use Firebase with a BlackBerry 10 Native + Cascades App.

The problem is Firebase has no libraries for BlackBerry 10. I have done some research saying that I can use the REST API, but I cannot find anywhere on how to do email or facebook login via pure REST. Everything involves downloading the Javascript API which I cannot do as QML support with JS is giving me issues.

Does anyone have any ideas or suggestions?

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807
lvandyk
  • 145
  • 1
  • 7

1 Answers1

2

By definition, you can't do authentication via REST. It requires that a user log into a third party service and enter credentials (not possible without a UI). You could create your own UI for authentication and generate your own custom tokens.

Once you have a token, you can pass that to the REST API by adding ?auth= to the URL.

Kato
  • 40,352
  • 6
  • 119
  • 149