php - Laravel API Authentication with JWT -


i'm reading book: build apis won't hate, , propose several authentication methods:

  1. basic auth
  2. digest authentication
  3. oauth 1.0a
  4. oauth 2.0
  5. openid
  6. hawk
  7. oz

i have application have differents components

  • internal apis
  • laravel webapp fb / google login via socialite
  • vuejs
  • mobile app

i not have public api.

i thinking of using jwt secure apis, don't see in book, i'm wondering if not making mistake.

any advice apreciated!

using jwt practice securing apis not mistake far i'm concerned.

but laravel 5.3 released , have laravel passport (oauth2 server) api authentication full think.

you refer laravel 5.3 release note document. laracast has free video tutorial explained in detail.


Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -