#11 - Laravel Sanctum and Vue.js - SPA Authentication - User Account Login
HTML-код
- Опубликовано: 25 фев 2021
- In this video you will learn how to install and configure Laravel sanctum in your project for API authentication and you will also learn how to make a successful login functionality using Laravel Sanctum and Vue JS.
For support please subscribe to my channel and hit the bell icon to not miss any updates and uploads.
If you enjoyed watching the video and see the content useful please like the video and share it with your friends.
For suggestion or requests or any problem please feel free to leave a comment on the video or contact me via the bellow email.
Contact: masoudihafizullah@gmail.com
Resources:
Laravel: laravel.com/
Complete Source Code: github.com/hfzm/laravelvue
Thank you for these tutorials, learn so much from chapter 1 to 11. More power and God bless!
This is what I was looking for, and thank you for providing the source code as well. keep up your work
Thank you so much, i trired realize sanctum auth more 1 week, bu u helped me by 21 minutes)
thank you so much !! great video my login code finally worked after watching this video
Can Sanctum be used with different Guards such as Admin, Vendor and customer?
Thanks for the amazing tutorials. Please how do i go about password reset, update?
Thank you bro, i have this error if someone can help me please: 401 {"message":"Unauthenticated."}
bro tengo un detalle al hacer logout el post no llega con user() al controlador, por tal motivo el token dice null para borrarlo, y el currentuser tiene los datos
Man the volume is too low though but nice tutorial!
That's Sanctum api tokens authentication not SPA authentication.
thank you for the video tutorial , am wondering how can we edit user ?
same style/method as edit employee i think
Great video) but how do we protect our tokens from theft? Local storage and cookies are not a secure place) In theory, I could steal your token and log in to my computer
I think we can store it in memory every time we log in, but it has a drawback once the tab closed it will delete the token & user data and the user will have to login again
vuex is the way to go
Hello, could you please make Laravel 8 Sanctum and Vue 3.js SPA Authentication - User Account login, with all latest version even bootstrap 5. Thank in advance.
It is pretty much the same, just check docs.
Oh no. No no. Never store a user auth/session token in localStorage, that's an XSS vulnerability.
What should be used to store the token?