Build authentication into your Laravel API with JSON Web Tokens (JWT)
Published in
6 min readDec 12, 2018
In this tutorial we’re going to expand the API we built in the previous tutorial to include authentication. By default Laravel includes authentication for session based authentication. Check it out by looking at the Laravel docs on authentication:
At its core, Laravel’s authentication facilities are made up of “guards” and “providers”. Guards…