An OAuth2 / OAuth3 example with Firefox OS and AngularJS
- Make sure your phone is up to date and
adb
in installed.
git clone https://github.com/LDSorg/fxos-oauth2-angular-demo.git
pushd fxos-oauth2-angular-demo
bower install
- Open Firefox Developer Edition
- Open Tools => Web Developer => Web IDE
- Open App => Open Packaged App...
- (choose the cloned repo)
- Select Runtime => Install Simulator
If you have adb
installed and you have an updated phone, you can test on the phone.
Note:
- Sometimes you have to uninstall and reinstall the app to reload it
- Sometimes you have to unplug and reboot the phone to reload it
- The simulator may work differently from the phone