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.
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?
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
@@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.
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?
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
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
@@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?
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
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
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
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..
Classic. Very clearly explained with demo
Thanks
This is the best video on angular authentication. Thanks
Thanks 👍
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.
Thanks brother for the support
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?
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
Really great tutorial. The explanation is simple and awesome. Thanks bro.
Glad to hear👍
Very helpful thanks
Glad to hear👍
excellent bro
Thanks
thank you so much , this is what i've been looking for ♥
Thanks for your valuable feedback
Nice explanation thanks...
Thanks for the feedback
nice tutorial but how to remember all these steps? to get hands on how write the code like you, any tips please suggest
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
Can you provide all the videos to make this project from scratch or possible make a playlist for this project. Its really helpful.
Please check the playlist
ruclips.net/p/PLfyWdpsiUiPAcHftMr_R0HwSyAVHCW5cR
amazing thaaank you man
Thanks
you made my day thxx
Welcome
what is atob() method, it is inbuitl method ?
Yes... But angular 14 onwards it's deprecated... Just refer my angular 15 authentication video I provided the alternate for this
Oh my God this is so complicated, and I have to somehow implement this in a Skote template... I want to cry
Do you feel this video to complicated?
@@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.
Thanks🙏
do you have video backend ?
ruclips.net/video/uWhbcR06VcA/видео.html
Thank you
Welcome
How can I exclude one url. Like the registration page has a post url. Where we won't need any Guard
The routing side you can ignore for the particular path (link)
@@NihiraTechiees can you help write the code
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?
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
Good video, very helpful. Is their any method to hide menu on role base? If yes please make a video on it.
Sure will make one video
@@NihiraTechiees Thank you. Please make soon 🙏🏻
you check for login if jwt in local storage what if user put it with himself
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
Where is the database ? I cloned the project but what credentials to use for login ?
Follow below video for API
ruclips.net/video/uWhbcR06VcA/видео.html
database scripts
github.com/nihira2020/Database
Use Learn_DB Scripts
You returned jwt token and refresh token, so in front end how refresh token will be used?
Will explain in part 2 video. once it's uploaded let you know
ruclips.net/video/3IDkzcflvaU/видео.html
Please make .net core web api tuturial full playlist
Will plan for that
great work brother. 👏👏thanks need more videos. is this same procedure for all database?
Yes bro, Same procedure for all
@@NihiraTechiees can you suggest any angular docs for reference
@@rajmohangurumoorthy928 please check this url angular.io/docs this is angular official link. It's very effective
I have doubt for creating authentication in different roles
Ok. What is your doubt ?
@@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?
I want set token from local storage without API
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
ruclips.net/video/2BQsJ5I3naE/видео.html check this video it will help you for implementing role based permission
is the author Thomas Akash?
No. It's ratheesh
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
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
This is a good tutorial, i have implemented this concept, can you show the api which you are using please
ruclips.net/video/uWhbcR06VcA/видео.html source code also available in description
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..
ruclips.net/p/PLfyWdpsiUiPD7kYHujLg3Vl6GV69yQPgD
In this playlist last video will explain the dynamic menu generation based on role
Sir, is there any way to contact you for some guidance.
send mail to this email id : nihiratechiees@gmail.com
thanks bro
Welcome
Where is the Core API ?
ruclips.net/video/uWhbcR06VcA/видео.html
@@NihiraTechiees Is Angular integrated with it?
This service only used for my angular videos
Why is there nothing about the backend you are using, that would've been helpful for a beginner .
For back end please refer this video ruclips.net/video/uWhbcR06VcA/видео.html
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
Have you created the api also?
@@NihiraTechiees I just downloaded your project git and run on my system
Brother it's angular code, and api created using dot net core, I shared that video link also in description
Please Angular Firebase From sollithanaga bro
ok
Could you please give me source code github link
github.com/nihira2020/Authentication
The explanation is good , but the visualization is no good. Remamber the ajust the view. Congratulations for your job.
Thanks for the suggestions will consider in upcoming videos
sir can i get your mail id
Nihiratechiees@gmail.com