Securing a Laravel API in 20 minutes with JWTs

Andrew Schmelyun December 9, 2018
Video Thumbnail
Andrew Schmelyun Logo

Andrew Schmelyun

View Channel

About

Software engineer with way too many ideas and poor impulse control. I love building for the web, nostalgic hardware, and bringing people together.

Video Description

In this video you'll learn how you can secure a Laravel API and authenticate users within it using JSON Web Tokens. Directly support these videos: https://www.patreon.com/aschmelyun - tymon/jwt-auth package: https://github.com/tymondesigns/jwt-auth - This will let you to separate your API and use it in external clients like native mobile apps or single-page web apps, where we need a user to be 'signed in' in order to view specific routes or pages. JWTs work like this: • Send user credentials to the API • Get back a unique token (JWT) representing the user's session • Use this token in requests where user authentication is required • Return details specific to the user who has provided their token Any questions? Ideas for a video? Feel free to let me know here or on Twitter, @aschmelyun!

You May Also Like

No Recommendations Found

No products were found for the selected channel.