Skip to content

samuelkristianto1/jwt-auth

Repository files navigation

jwt-auth

a Guide to use Tymondesigns JWT-Auth

You can read the guide from reference below, or just clone this repo. (the code in this repo is a little different than the official guide)

Lumen version 5.8 and tymon/jwt-auth 1.0.0-rc.4.1

  1. clone this repo
  2. add env file and configure your database
  3. php artisan migrate and php artisan jwt:secret
  4. see the routes/web.php, you can use postman and try
    1. register: asdf
    2. login:
    3. check the authenticated user
    4. logout:
    5. after logout

Reference From:

About

a Guide to use Tymondesigns JWT-Auth

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages