Это видео недоступно.
Сожалеем об этом.
Vue Login and Handling the JWT Token | Vue Authentication #4
HTML-код
- Опубликовано: 18 авг 2020
- 👉 Check our website: scalablescripts.com
Backend: • Api Authentication Wit...
Learn to Authenticate using Vue.js. In this video, we will create a Login component where we will send the Login Credentials and get back a JWT Token. Then we will use that JWT Token as a Bearer Token in the Request Headers to retrieve the Authenticated User. We will also add the Logout functionality.
#vuejs #jwt
You can check these playlists if you are interested:
VueJS and Laravel JWT Authentication: ruclips.net/p/PLlameCF3cMEs7ErSWENv03zOKtH5NTG61
VueJS and Django JWT Authentication: ruclips.net/p/PLlameCF3cMEvj7fV-Szcaz_ve303e4AxX
VueJS and NodeJS JWT Authentication: ruclips.net/p/PLlameCF3cMEsjpIRxfB9Rjici3aMCaQVo
VueJS and Golang JWT Authentication: ruclips.net/p/PLlameCF3cMEvSY8iQ6QBVE8VRK4UiZZ33
VueJS and NestJS JWT Authentication: ruclips.net/p/PLlameCF3cMEujfD19Si2VNRlFEyDa_ZJb
VueJS and Deno JWT Authentication: ruclips.net/p/PLlameCF3cMEuDSusZHXGeIZ0Axmd74aPc
please codepen
I saw many RUclips videos, on jwt authentication. But finally when I watched this video. Clear cut explanation. Thanks
You are amaizing
I bought a lot of courses, but you are explaining much better, and for free.
Legal, aqui me ajudou! Precisei disso para costurar o front no banck-end nas funções de confirmar e-mail. Eu fiz com o localStorage porque não aprendi ainda a armazenar com Cookie, e precisava deixar funcional. Com o tempo, vou alterar para o armazenamento em Cookie. Bom vídeo, bem explicativo!
Hi, thank you, very useful. A huge from Barranquilla, Colombia
error: "Unauthorized", i did same like on this tutorial. what goes wrong?
Saved me a lot of time. Thanks!
excause me,
i take to login to post ,but not receive token,
how can i do?
this video help me a lot Thank you!
Good, thanks for this material
What does happen when user open your app in new tab? I repeated your steps but I get on to auth page. And yes, I still have user token in my header.
How did you show token in console ? From where ?
btw, you should not store your jwt in local storage...
You saved my life.
Hey nice video, but setting localstorage is not good practice for access_token.
what is the best practice?
what is the better way???
What is better then?
Cookies maybe@@anvarturdaliev9834
Awesome 👍
thank so much
idk where do you get the token string
thanks !!!!
thank you
Why not put the token in the cookies instead of local storage?
Both are very bad practice, it's not a secure option. Better way is to send the token with an auth header from the server and refresh it when you need it.
Thank you!!!!!!!!
please am getting "We're sorry but App doesn't work properly without JavaScript enabled. Please enable it to continue" in network preview tab on the dev tools in all my browsers
which ide is this
:)
getting missing grant type
that accent is cute
thx!
your tutorial is not good. How we can have a token if we didn't initialize it ?
You should read the video descriptions, anyway here is a better tutorial: ruclips.net/video/ULFAgn2ITko/видео.html
@@ScalableScripts what read in video descriptions? The link where you get sent to your stupid monetized website? yeah right loser.
where should the axios.get request go? I do not have any endpoint named user