Angular Authentication (Role based Authentication + AUTH Guard + Http Interceptor + Core API) #27

  Рет қаралды 67,706

Nihira Techiees

Nihira Techiees

Күн бұрын

Пікірлер
@ArionImmanuel
@ArionImmanuel 2 жыл бұрын
This is the tutorial I've been looking for. The explanation is simple and easy to understand. Thanks for this video. I hope you are always healthy. Keep producing good work and always success.
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
Thanks brother for the support
@Tesseract9630
@Tesseract9630 Жыл бұрын
This is the best video on angular authentication. Thanks
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Thanks 👍
@DebasmitSamal294
@DebasmitSamal294 4 ай бұрын
Classic. Very clearly explained with demo
@NihiraTechiees
@NihiraTechiees 4 ай бұрын
Thanks
@victora3155
@victora3155 2 жыл бұрын
Really great tutorial. The explanation is simple and awesome. Thanks bro.
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
Glad to hear👍
@marwensnoussi5643
@marwensnoussi5643 2 жыл бұрын
thank you so much , this is what i've been looking for ♥
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
Thanks for your valuable feedback
@salahuddinhissam
@salahuddinhissam 2 жыл бұрын
Very helpful thanks
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
Glad to hear👍
@Rohit-oz4xl
@Rohit-oz4xl 2 жыл бұрын
Can you provide all the videos to make this project from scratch or possible make a playlist for this project. Its really helpful.
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
Please check the playlist kzbin.info/aero/PLfyWdpsiUiPAcHftMr_R0HwSyAVHCW5cR
@sohailamjad8755
@sohailamjad8755 2 жыл бұрын
Nice explanation thanks...
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
Thanks for the feedback
@praveenreddy5903
@praveenreddy5903 2 жыл бұрын
excellent bro
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
Thanks
@faresbelaid4828
@faresbelaid4828 2 жыл бұрын
amazing thaaank you man
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
Thanks
@srkvocals
@srkvocals 2 ай бұрын
nice tutorial but how to remember all these steps? to get hands on how write the code like you, any tips please suggest
@NihiraTechiees
@NihiraTechiees 2 ай бұрын
It's all about practice. The video length may be 1 hr . But i put more than week effort, for own preparation and recording and editing
@ManuelRaso-n2g
@ManuelRaso-n2g Жыл бұрын
Hello, I don't understand at min 15:18 why we are using Injector, and why aren't we just putting in the constructor the other service. Is it really that wrong calling a service into another service? Everytime I have to call a service in another service, do I have to user the Injector?
@NihiraTechiees
@NihiraTechiees Жыл бұрын
There is the possibility for getting error, note : every version upgrade have some changes this video created using angular 13. Current version angular 15. If you not faced any error then go with the way
@cw2586
@cw2586 Жыл бұрын
Oh my God this is so complicated, and I have to somehow implement this in a Skote template... I want to cry
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Do you feel this video to complicated?
@cw2586
@cw2586 Жыл бұрын
@@NihiraTechiees No, it's not complicated, I was just commenting out of frustration since I have to use an angular template that uses very advanced techniques for authentication with files hidden in files, hidden in files... It makes it very difficult for a noob like me to modify the template for my needs. Anyways, thanks for the video. I figured out what I was doing wrong and why I was receiving so many errors.
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Thanks🙏
@rajmohangurumoorthy928
@rajmohangurumoorthy928 2 жыл бұрын
great work brother. 👏👏thanks need more videos. is this same procedure for all database?
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
Yes bro, Same procedure for all
@rajmohangurumoorthy928
@rajmohangurumoorthy928 2 жыл бұрын
@@NihiraTechiees can you suggest any angular docs for reference
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
@@rajmohangurumoorthy928 please check this url angular.io/docs this is angular official link. It's very effective
@VijayKumar-fq4ie
@VijayKumar-fq4ie 2 жыл бұрын
Good video, very helpful. Is their any method to hide menu on role base? If yes please make a video on it.
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
Sure will make one video
@VijayKumar-fq4ie
@VijayKumar-fq4ie 2 жыл бұрын
@@NihiraTechiees Thank you. Please make soon 🙏🏻
@methennisghaira6078
@methennisghaira6078 2 жыл бұрын
you made my day thxx
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
Welcome
@venkatanareshbeeram8594
@venkatanareshbeeram8594 2 жыл бұрын
This is a good tutorial, i have implemented this concept, can you show the api which you are using please
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
kzbin.info/www/bejne/q4jLk5aIZZuJmaM source code also available in description
@devloperadda1350
@devloperadda1350 2 жыл бұрын
Thank you
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
Welcome
@pranaynagavolu814
@pranaynagavolu814 2 жыл бұрын
Why is there nothing about the backend you are using, that would've been helpful for a beginner .
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
For back end please refer this video kzbin.info/www/bejne/q4jLk5aIZZuJmaM
@kollimarlajagadeep4039
@kollimarlajagadeep4039 2 жыл бұрын
How can I exclude one url. Like the registration page has a post url. Where we won't need any Guard
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
The routing side you can ignore for the particular path (link)
@kollimarlajagadeep4039
@kollimarlajagadeep4039 2 жыл бұрын
@@NihiraTechiees can you help write the code
@viratsharma1540
@viratsharma1540 2 жыл бұрын
HI i have one question in authguard you are only checking if the token is present in localstorage or not .so we can create random token in localstorage to bypass the authguard. is there any other way to protect the routes?
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
Hi bro, here the is we can apply any logical conditions in authgurad. If you completely watched the video I implemented role based access also using this guard
@ayeshamemon2315
@ayeshamemon2315 2 жыл бұрын
Where is the database ? I cloned the project but what credentials to use for login ?
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
Follow below video for API kzbin.info/www/bejne/q4jLk5aIZZuJmaM database scripts github.com/nihira2020/Database Use Learn_DB Scripts
@channelnaresh9374
@channelnaresh9374 10 ай бұрын
what is atob() method, it is inbuitl method ?
@NihiraTechiees
@NihiraTechiees 10 ай бұрын
Yes... But angular 14 onwards it's deprecated... Just refer my angular 15 authentication video I provided the alternate for this
@ahtishamahmed1551
@ahtishamahmed1551 2 жыл бұрын
Please make .net core web api tuturial full playlist
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
Will plan for that
@veereshkumark9293
@veereshkumark9293 2 жыл бұрын
This is one of the good tutorial I have followed all your videos thanks for uploading and I have one doubt here when other user login we have to hide the customer module also how we do that can you please help me on this..
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
kzbin.info/aero/PLfyWdpsiUiPD7kYHujLg3Vl6GV69yQPgD
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
In this playlist last video will explain the dynamic menu generation based on role
@shakz487
@shakz487 2 жыл бұрын
hey sir I follow your guide but when I click logout and set the url to back home again still works may i know the code on your logout? do u remove token or its just routerlink only back to login? thank you
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
I removing token in login page ngonint event, when you click log out I just navigating to login page so login page will clear the token from localstorage
@kunaldholiya4701
@kunaldholiya4701 2 жыл бұрын
You returned jwt token and refresh token, so in front end how refresh token will be used?
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
Will explain in part 2 video. once it's uploaded let you know
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
kzbin.info/www/bejne/aXqnnK2Zm9Gpl7c
@AhmedMohamed-xx1kx
@AhmedMohamed-xx1kx 2 жыл бұрын
you check for login if jwt in local storage what if user put it with himself
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
We are basically checking the user already logged in or not. Once logged in I am added jwt token in local storage that's why I am checking in local storage. If you have token session storage or some variable you need to check based on that
@sokbunchhuoy9057
@sokbunchhuoy9057 2 жыл бұрын
do you have video backend ?
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
kzbin.info/www/bejne/q4jLk5aIZZuJmaM
@archanam4224
@archanam4224 2 жыл бұрын
thanks bro
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
Welcome
@beingAuthenticSoulMusic
@beingAuthenticSoulMusic 2 жыл бұрын
is the author Thomas Akash?
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
No. It's ratheesh
@siddharthrai6715
@siddharthrai6715 Жыл бұрын
Bro I download this code from github to take an overview but I can't able to login in via your given user name and password, please help
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Have you created the api also?
@siddharthrai6715
@siddharthrai6715 Жыл бұрын
@@NihiraTechiees I just downloaded your project git and run on my system
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Brother it's angular code, and api created using dot net core, I shared that video link also in description
@isanthoshkumar_s
@isanthoshkumar_s 2 жыл бұрын
I have doubt for creating authentication in different roles
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
Ok. What is your doubt ?
@isanthoshkumar_s
@isanthoshkumar_s 2 жыл бұрын
@@NihiraTechiees I want to Login using two user..one is normal user and another one is super admin that super admin access all components and normal user access one or two components...what will I do?
@isanthoshkumar_s
@isanthoshkumar_s 2 жыл бұрын
I want set token from local storage without API
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
If you have token, you can set the token value directly to the local storage, Appcomponent is the starting point so please assign in the onInt Or the constructor
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
kzbin.info/www/bejne/aHO0pH1rfpihl6c check this video it will help you for implementing role based permission
@ArunKumar-uq3zv
@ArunKumar-uq3zv 2 жыл бұрын
Sir, is there any way to contact you for some guidance.
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
send mail to this email id : nihiratechiees@gmail.com
@joseluisrocha8351
@joseluisrocha8351 Жыл бұрын
The explanation is good , but the visualization is no good. Remamber the ajust the view. Congratulations for your job.
@NihiraTechiees
@NihiraTechiees Жыл бұрын
Thanks for the suggestions will consider in upcoming videos
@cagatayaksoy9771
@cagatayaksoy9771 2 жыл бұрын
Where is the Core API ?
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
kzbin.info/www/bejne/q4jLk5aIZZuJmaM
@cagatayaksoy9771
@cagatayaksoy9771 2 жыл бұрын
@@NihiraTechiees Is Angular integrated with it?
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
This service only used for my angular videos
@velrajavelraja7663
@velrajavelraja7663 Жыл бұрын
Please Angular Firebase From sollithanaga bro
@NihiraTechiees
@NihiraTechiees Жыл бұрын
ok
@CNARENDER
@CNARENDER 2 жыл бұрын
Could you please give me source code github link
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
github.com/nihira2020/Authentication
@dharshan9055
@dharshan9055 2 жыл бұрын
sir can i get your mail id
@NihiraTechiees
@NihiraTechiees 2 жыл бұрын
Nihiratechiees@gmail.com
ТВОИ РОДИТЕЛИ И ЧЕЛОВЕК ПАУК 😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 6 МЛН
How to Fight a Gross Man 😡
00:19
Alan Chikin Chow
Рет қаралды 17 МЛН
Мама у нас строгая
00:20
VAVAN
Рет қаралды 11 МЛН
.NET and C# are in trouble. Here is what I'd do.
10:57
Ed Andersen
Рет қаралды 107 М.
Angular Authentication: Role Based Authorization
8:58
Code Shots With Profanis
Рет қаралды 56 М.
Angular JWT User Authentication with Tailwind Login🔒
45:32
Simon Grimm
Рет қаралды 3,7 М.
🔑 JWT Authorization | Angular Router Guards | Token Refresh
23:28
Difference between cookies, session and tokens
11:53
Valentin Despa
Рет қаралды 657 М.
ТВОИ РОДИТЕЛИ И ЧЕЛОВЕК ПАУК 😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 6 МЛН