Skip to content

slashfan/LexikJWTAuthenticationBundleSandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LexikJWTAuthenticationBundle Sandbox

Build Status

A minimalist sandbox to quickly test JWT authentication through LexikJWTAuthenticationBundle and Symfony2.3. Demonstration purpose only. Do not use this application directly in production.

Installation

Dependencies

composer install -o

Running test suite

bin/phpunit -c app

Manually check token generation using the CLI

curl -X POST http://localhost:8000/api/login_check -d username=user -d password=password

Run the AngularJS demo app

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

About

[deprecated] Symfony 2.3 + LexikJWTAuthenticationBundle 1.x sandbox - see https://github.com/chalasr/lexik-jwt-authentication-sandbox for an up-to-date sandbox

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published