Thank you very much my friends. This tutorial was very helpful. I wish you the best!
@VinayKumar-gn5xn2 жыл бұрын
Sir your are great after a long time I have solve my problem from your video and thank you so much sir
@sathyaravi8022 жыл бұрын
Really a nice one . Easy to understand. Thank you
@xxMaCuxx2 жыл бұрын
This video was very helpfull! thankyou!
@keepwatching11282 жыл бұрын
Pelase make more assignments/mini project like this.. your videos are amazing for new learners.
@CodeForgeYT2 жыл бұрын
I will try!
@jasminemerchant31673 жыл бұрын
Great tutorial sir, thanks for sharing
@CodeForgeYT3 жыл бұрын
Happy you like it!
@stackflowtwo61993 жыл бұрын
Thanks for the tips. Amazing
@CodeForgeYT3 жыл бұрын
Cool!
@sonalijadhav46513 жыл бұрын
with gratitude ...thank you sir...really worked out for me...Tnx...
@CodeForgeYT3 жыл бұрын
Awesome!
@erisvideo2 жыл бұрын
i have an issue about displaying navbar. When i login, then click go back button. Navbar is displaying with login page. How can i fix this.
@CodeForgeYT2 жыл бұрын
I don't have any solution right now, but you probably have to play a little bit with routing. Maybe listening for changes on Routing or ActivatedRoute from @angular/router may help.
@dianasungu2 жыл бұрын
@Denthor - Same issue here, were you able to find a fix?
@canarese3 жыл бұрын
Almost perfect! But some confusion on isFormValid / isFormInvalid and using login instead of email caused heart to flutter a bit. Thanks!!
@CodeForgeYT3 жыл бұрын
Thanks for feedback!
@brandonchavez96554 жыл бұрын
Great tutorial, thanks! You should show us how we can link this up to Firebase authentication!
@CodeForgeYT4 жыл бұрын
Thanks for feedback and video idea!
@keepwatching11282 жыл бұрын
Really very helpful.
@CodeForgeYT2 жыл бұрын
Glad to hear that!
@sebastiank93653 жыл бұрын
Very Nice Tutorial! Helped a lot! Could you possibly make a video about connecting this program (or Angular in general) to a database. e.g. MongoDB via ExpressJS? :)
@CodeForgeYT3 жыл бұрын
Hey! Currently I am not planning anything like this. If I will do anything like this it will be probably based on Java Spring Boot and some SQL DB, but thanks for feedback!
@sumitgarg91763 жыл бұрын
Nice tutorial
@CodeForgeYT3 жыл бұрын
Thanks
@MeltTheBrain2 жыл бұрын
Very good explanation and easy to follow. only constructive feedback I have is maybe make font bigger so it's easier to read as we go along. but this is couple years old so might be that you already know that :)
@CodeForgeYT2 жыл бұрын
Already noted! Thanks!
@MeltTheBrain2 жыл бұрын
@@CodeForgeYT thanks for the video though, and best of luck to you :)
@cybersolutionshariq99223 жыл бұрын
it says this Property 'isAuthenticated' does not exist on type 'AuthenticationService'
@onke3 жыл бұрын
Top class stuff. thank you
@CodeForgeYT3 жыл бұрын
Thank you too!
@edrisebaher46943 жыл бұрын
Please consider font in large size for IDE in next videos it cannot display in phones effects the eyes! Thanks
@CodeForgeYT3 жыл бұрын
Hi! Thanks for feedback! New videos should have bigger fonts
@saitejacheganti27053 жыл бұрын
Sir can you please tell that how to connect to database and get user data for authentication in the place of "mockedUser".
@CodeForgeYT3 жыл бұрын
Hey! Instead of using mocked user you will need back-end with the authentication logic. This back-end should expose REST endpoint that will authenticate this user using database. On the front-end you can then create dedicated service class. In this service you will need method that will call you back-end REST endpoint. You can use your new service as the dependency in authentication service and call this metod. Depending on the result returned from endpoint you can allow user to login or not. Hope it helps
@dirkrobbertse45032 жыл бұрын
Your content is spot on, you don't find allot of videos where it goes this smooth!! Great video Dude and I'm looking forward to your next content, is just think there is allot of extra coding for all the authentication "Login-auth display"and "checking for failed validation messages" but other than that, Your a rockstar @CodeForgeYT
@CodeForgeYT2 жыл бұрын
Thanks a ton!
@felipesanzanam3 жыл бұрын
thank yoy bro!!!! amazin tutorial!
@CodeForgeYT3 жыл бұрын
Hey! Thanks, glad you like it!
@Khushburathore-u4f3 жыл бұрын
Everything is perfect bt one problem occurs after implementing the guard auth when I try to refresh in any other pages like home or statistics it navigated to login again. So how to resolve it plss do response
@CodeForgeYT3 жыл бұрын
Thanks for feedback. This is because we are not storing information about user authentication. It is stored in application memory, so after refresh all information disappear. To make it work you should store information about user authentication in web browser for example it can be some token - we want to store token and not credentials because you should not store user credentials due to security issues
@save2strokes5933 жыл бұрын
I logged in with my correct using gmail and password but its saying invaid password or user like that ,how can i fix this bug..
@maliktahir26523 жыл бұрын
SIr can you guide me for role based login in this app and redirecting on basis of roles
@CodeForgeYT3 жыл бұрын
Don't know what you mean by role based login, but for such thing you need your custom back-end with users, roles, resources or you can use tool like keycloak. Each user should have assgined roles and each role should have assigned resources. Having that you can integrate it with your front-end and control visibility of specific parts of the UI like pages or buttons using roles or resources assigned to the specific user. I think it would be best to use some directvies and put them on specific UI elements. Hope it helps! Keep coding!
@sulochanabasavala61783 жыл бұрын
thank you so much but what is login credentials..?
@CodeForgeYT3 жыл бұрын
Credentials are data such as for example login or password
@sulochanabasavala61783 жыл бұрын
@@CodeForgeYT but when i download that code and compile,it is asking for login credentials..
@CodeForgeYT3 жыл бұрын
@@sulochanabasavala6178 Yes, because this is how we have implemented application. If you will take a look in the source code you will find mocked user which we have created for this example. In the video mocked user is different than the one in the source code from github. Take a look on the line 10 of the authentication.service.ts file. There you can find credentials which can be used for logging.
@sulochanabasavala61783 жыл бұрын
@@CodeForgeYT thank you so much..
@musicalspace68854 жыл бұрын
Why does ng g c login not working? It says: Unable to locate a workspace file for workspace path.
@CodeForgeYT4 жыл бұрын
Hard to say, are you in project directory?
@musicalspace68854 жыл бұрын
@@CodeForgeYT Yes,I am
@CodeForgeYT4 жыл бұрын
@@musicalspace6885 Check if you are in Angular workspace. If you will run out of ideas try to look for the same error in the internet. Good luck!
@muskanagrawal6727 Жыл бұрын
Can you please help me by telling that instead of passing login credentials how can i pass user id in which is the user enters an id starting with a letter followed by 7 number of digits it will successfully login without the need of password?
@divyankgupta45782 жыл бұрын
sir plz tell me what login id and pass use for open this ?
@ahmedbahpullo85442 жыл бұрын
thanks you thanks you you are the best
@shubhamjeve43992 жыл бұрын
No directive found with exportAs 'ng'
@jayasreed79193 жыл бұрын
sir plzz i need link of your role based authorization
@CodeForgeYT3 жыл бұрын
I don't have any role based authorization project
@jayasreed79193 жыл бұрын
like only admin can login depends on user ? You didnt done any project like that sir.. @@CodeForgeYT
@subikshasriram17452 жыл бұрын
NgForm is not working and nav bar is also not working...i am follow with ur process only but why i am getting like this
@mcardosodev2 жыл бұрын
thanks man, you saved me LOL
@Kavin14063 жыл бұрын
thank you very much!
@CodeForgeYT3 жыл бұрын
You're welcome!
@jrlcentertainment33762 жыл бұрын
Please make a tutorial on hiding nav bar with using real credentials from json-server
@muzzamilhussain35353 жыл бұрын
Thank you so much!!
@CodeForgeYT3 жыл бұрын
You are welcome!
@devunurireethu78593 жыл бұрын
Sir pls I need your admin only acces the page with certain user can you plzz send the link of the video
@CodeForgeYT3 жыл бұрын
I don't have any project like this
@mastvideos23553 жыл бұрын
when i refresh the page its going back to login page please help me i want to stay in same page when i refresh the browser
@CodeForgeYT3 жыл бұрын
It is single page application, you shouldn't refresh the page like this. If you want to refresh the page and stayed logged in you have to implement it.