laravel5-angular-jwt

Simple Laravel 5/Angular app that shows how to use the most basic JWT authentication

Added by: Sam Deering

GitHub

Repository

ttkalec/laravel5-angular-jwt

Stats

Stars: 115

Watchers: 115

Forks: 41

Author

Tino Tkalec
Tino Tkalec

Module Description

Laravel 5 / Angular example with JSON Web Token authentication

This is a basic Laravel 5 app that shows how to use the most basic JWT authentication.

Note

This app is not meant to be used in Production environment.
It's a very basic example, that lacks any kind of input validation, handling of expired tokens, local storage fallback to cookies or any other storage.

Installation

  • Clone the repository (git clone git@github.com:ttkalec/laravel5-angular-jwt.git)
  • Use Laravel Homestead
  • SSH in to your Homestead Vagrant box
  • Run php composer install to install the dependencies (get composer here)
  • Run php artisan migrate to setup the database
  • Follow Jwt-auth and Laravel-cors in order to config your dependencies
  • Run php artisan config:publish to publish JWT and CORS packages config files

Module stats last updated: 2017-02-09 16:00:03

Disclaimer: Some data on this page may have been gathered from the authors GitHub respository. If you see any mistakes or outdated information please let us know. Thanks!