Angular Authentication: Login Using JWT

preview_player
Показать описание
This is the first video of a series where we will see how to implement Authentication and Authorization in #angular using #JWT (JSON Web Token).

In this video, we will see how to control an application's header visibility for the logged in users.

The next videos:
✨ Append the token in the HTTP headers of every API call via an interceptor (coming soon...)
✨ Authorization: Block users without a specific role visit a route (coming soon...)
Рекомендации по теме
Комментарии
Автор

So Many core concepts hidden inside this 10 min video, every time I re-watch I learn something new

nyshasonal
Автор

Your videos are really helpful, leading scenarios that we can use in real world applications! Thank you :)

SunnyVakil
Автор

I'm from Brazil, and your teaching is amazing, you made a very objective approach, congratulations

PauloRic__
Автор

Really great video. You always make videos on real scenario that helps alot to many people. Thanks for such a great content 👍👍

sahilbedi
Автор

Excellent tutorial! I love it. Keep up at the good work!

sergiokagiema
Автор

simple and great, keep it up man, subscribed.

rp
Автор

Great class, especially for beginners. thanks

antoniofernando
Автор

Feels like listening coding lectures from Slovaj Zizek

Great and simple explanation. Thanks!

emreertunc
Автор

Excellent. Behavior Subjects are really helpfull piece of code!

AlainBoudard
Автор

Thanks sir. Btw any tutorial about Implemented Refresh token using Interceptor?

thelazyguy
Автор

Great tutorial, will you do more about authorization with guards, routes and I hope with NGRX?

OlehBiblyi
Автор

When will you show session expire message to user ? I mean I have written code to find out user session expire time but don't know when to show popup and how ?

umeshshelke
Автор

Great and precise content 👌. What vscode theme are you using?

ugochukwuumerie
Автор

But if as a client I’m getting into LS and hard coded added a key “profanis_auth” and add some fake string as a token it still make the boolean true as the user is logged in (because you just check if there is a key of token and not verify the token), or i missed something?

mkmmnvm
Автор

Hi, Really nice video. I do have a question about the repo. There seems to be no code inside? am I missing something?

rdeem
Автор

Hi profanis thank u for this helpful Playlist.
I want to know something, here we have set isLoggedIn variable to true, no matter the response from the back end (I know we are using fake one) but how this gonna be in real Back end?
Do we will check the respons before setting isloggedIn to true?

younescha
Автор

If token add manually through inspect in local storage with same key with some value, login also succeeded.
How prevent this?

Anuj_Kumar_
Автор

its showing undefined when i am returning the token in console log at 5:00

helloworld
Автор

could you please make a video on how to create a token?

samitaha
Автор

Bro can u add one video on csrf cache token validation ...

javidg