#3 - Refresh tokens in Laravel Passport OAuth2

preview_player
Показать описание
For security reasons, I recommend using short-lived access tokens. So, in this tutorial, you will learn how to get new access tokens via the refresh token that was provided to them when the access token was issued.

𝐆𝐢𝐭𝐡𝐮𝐛 𝐑𝐞𝐩𝐨𝐬𝐢𝐭𝐨𝐫𝐲:

#𝟏 - 𝐋𝐚𝐫𝐚𝐯𝐞𝐥 𝐏𝐚𝐬𝐬𝐩𝐨𝐫𝐭 𝐎𝐀𝐮𝐭𝐡𝟐 𝐒𝐞𝐫𝐯𝐞𝐫 𝐈𝐦𝐩𝐥𝐞𝐦𝐞𝐧𝐭𝐚𝐭𝐢𝐨𝐧

#𝟐 - 𝐓𝐨𝐤𝐞𝐧 𝐒𝐜𝐨𝐩𝐞𝐬 𝐢𝐧 𝐋𝐚𝐫𝐚𝐯𝐞𝐥 𝐏𝐚𝐬𝐬𝐩𝐨𝐫𝐭 𝐎𝐀𝐮𝐭𝐡𝟐

𝐋𝐚𝐫𝐚𝐯𝐞𝐥 𝐏𝐚𝐬𝐬𝐩𝐨𝐫𝐭 𝐀𝐏𝐈 𝐀𝐮𝐭𝐡𝐞𝐧𝐭𝐢𝐜𝐚𝐭𝐢𝐨𝐧

#𝟏: 𝐒𝐏𝐀 𝐀𝐮𝐭𝐡𝐞𝐧𝐭𝐢𝐜𝐚𝐭𝐢𝐨𝐧 𝐮𝐬𝐢𝐧𝐠 𝐋𝐚𝐫𝐚𝐯𝐞𝐥 𝐒𝐚𝐧𝐜𝐭𝐮𝐦

#𝟐: 𝐀𝐏𝐈 𝐓𝐨𝐤𝐞𝐧 𝐀𝐮𝐭𝐡𝐞𝐧𝐭𝐢𝐜𝐚𝐭𝐢𝐨𝐧 𝐮𝐬𝐢𝐧𝐠 𝐋𝐚𝐫𝐚𝐯𝐞𝐥 𝐒𝐚𝐧𝐜𝐭𝐮𝐦

Laravel Passport Tutorials

Also, follow us on:
Рекомендации по теме
Комментарии
Автор

*Don't get left behind! Try Spec Coder: Supercharge Your Coding with AI!*

QiroLab
Автор

Thanks for passport series. You explained mostly in detail which I can't see it from other channels!

angphamminh
Автор

your passport series has been very helpful. your contents are comprehensive but very concise & straight to the point.
hopefully you can make a continuation for this, discussing the other grant types, and when to use it.

you just earned a sub & likes for the series. thanks!

oseiryth
Автор

loved you passport series. I've learned new things :)

sir is this last video related to passport or next video will come related to passport?

neerajsinghtangariya
Автор

hopefully there will be a video tutorial on how to use your laravel passport

corpvtp
Автор

hi..im new to this token... how should we handle this refresh token in multipage app and when do client really need to refresh token..is every request need to check for token expiry?

MrMatni
Автор

Hello sir, I have two apps, Server, client. now how can I create a login from server when I hit client url. Thanks

rajhalrajab
Автор

Thanks sir for your great video. But how can we generate access token from different route other than home page . Lets say we are trying to create new post and our token is expired . what will be the best way to generate new access token without being redirected to the home page ?

bholakrkhawas
Автор

Hi qirolab, I need to custom middleware auth:api default of passport, so please help me how can I do that.

dongnguyen.
Автор

best tutorial for OAuth api in laravel, but sir how to create post using api

satenwebmedia
Автор

sir, i try install laravel sanctum latest ver. I did not get the csrf-cookie. and without get('/sanctum/csrf-cookie'), still working no errror csrf missmatch...

kid_rz
Автор

You are working in web routes but sir I HAVE address all my route in api.php rather than web.php as I integrating with react how to do this exactly same using in api routes sir plz help me plz plzplz

vimkndll
Автор

any chance you make a new series for Authentication with Nuxt and laravel ?... thanks

Cybersix
Автор

Please contact with me on social media, thanks

codebrain