Getting started with Laravel Passport and OAuth2

テクノロジー



In this 29 minute video, I’ll show you how to install and use the powerful Passport authentication package in an example Laravel application. Postman helps a little, too.

Join my newsletter for weekly tips on Laravel, Vue, and Docker: https://aschmelyun.substack.com

You’ll learn how to:
– Install and setup Laravel Passport
– Create and view a user’s clients
– Generate authentication tokens with OAuth2 flow
– Create and use scopes to guard specific routes

0:00 – Intro
2:40 – Installing Passport
4:22 – Creating Clients
11:30 – Authorizing A Client
17:38 – Using Tokens
21:48 – Refreshing Tokens
23:58 – Using Scopes
29:08 – Wrapping Up

Follow me on Twitter! https://twitter.com/aschmelyun

Comments

Copied title and URL