Vue.js Todo App - Authentication - Part 10

Andre Madarang
Andre Madarang
144.2 هزار بار بازدید - 6 سال پیش - In this video, we work
In this video, we work on all the Authentication parts that need to happen on the front end. We make AJAX requests to our API and retrieve a valid token. We store that token using Local Storage in order to make subsequent requests as a logged in user. We then take a look at navigation guards to prevent users from accessing endpoints that are meant for logged in users.

Local Storage vs Cookies
=======================

Video: Storing JWT tokens localStorage vs. C...

Article: https://stormpath.com/blog/where-to-s...

Article: https://dev.to/rdegges/please-stop-us...

GitHub: https://github.com/drehimself/todo-vu...

LINKS
My courses: https://codewithdre.com
Sign up for my newsletter: http://andremadarang.com/newsletter
My website: http://andremadarang.com
Twitter: Twitter: drehimself
GitHub: http://github.com/drehimself
CodePen: http://codepen.io/drehimself
6 سال پیش در تاریخ 1397/02/21 منتشر شده است.
144,201 بـار بازدید شده
... بیشتر