A minimalist sandbox to quickly test JWT authentication through LexikJWTAuthenticationBundle and Symfony2.3. Demonstration purpose only. Do not use this application directly in production.
composer install -o
bin/phpunit -c app
curl -X POST http://localhost:8000/api/login_check -d username=user -d password=password
A sample demo application is available in the web/angular-demo directory. It is based on the great post Authentication with Ionic and Angular.js in a Cordova/Phonegap mobile web application.
To run the demo app :
- install the assets using
bower install
in the web/angular-demo directory - run the symfony application with a
app/console server:run
- browse to
http://localhost:8000/angular-demo/index.html