JSON Web Token Authentication for Lumen REBOOT
Learn how to implement JWT authentication in your Lumen application the proper way.
- Global exception handling
- The future of jwt-auth for Lumen
- Do you really need JWT?
I see that a lot of you are having problems with my blog post on JSON Web Token Authentication for Lumen. I've been reading all comments and emails about it, but because this post was written more than one year ago I decided to reboot the whole post instead of trying to fix issues that have been piling on.
At the time when I wrote that post you could actually follow along and get the wanted result, but packages changed/updated, new versions of Lumen released and things broke.
So, for this tutorial, I will be using Lumen 5.3 (which is the latest Lumen version released at the time of this tutorial) with tymondesigns/jwt-auth package version
1.0.0-alpha.3 to implement JWT authentication in Lumen.
- Cover image Corporate Sunrise created by Blake Watson
To continue reading, choose a subscription plan: