This video was really helpful!! I was trying to get google sign in done from past two days, but after this video my efforts were shortened to 20-30 mins with integration and testing!
Thank you for the excellent work. Just one question though, in the app routes instead of directly writing the component property and assigning directly the component name, why are you writing loadComponent and then importing inside it the component ? What is the benefit of this approach ?
@@abhishekjadhav9289 so basically I’m utilising the feature of standalone components. So it will create a separate chuck and will lazy load on demand when the route is active
Can you help in doing sign in from other page like /signup to /browse ,I am able to do sign in from localhost:4200 to localhost:4200/browse but my use case is different as I mentioned and getting the error message 'The given origin is not allowed for the given client id' and take me to the localhost:4200 from /signup page. It will be very helpful
Great work sashi..just put more videos on Angular and .NET Core ! and one think i would say its more convinient to use LocalStoragebthan session storage thanks in Advance....
Thanks man! 🙂 Sure I will be coming up with some more videos. Also I used session storage here because In case I use different Google account to login in new tab then the app should not update the payload value for the 1st session
Explaination is wonderful but i facing issue on google btn not showing process is same but not showing "Google is not define"thís error is show how to resolve
Hi, thanks for the video! I'm getting a strange error, the login is working fine, but I get: ERROR ReferenceError: google is not defined at _AuthComponent.ngOnInit. I'm new to Angular and ts, anyone knows a solution?
Currently with the approach in the video it just cover the authentication. Here signup doesn’t make sense because we are not connected it with Database to store the creds. This approach in the video is to just allow the genuine users who has a Google account.
I had a similar problem with Edge browser on my windows desktop. Turns out that the browser was blocking the google script with the message - "Third-party cookie will be blocked in future Microsoft Edge versions as part of unpartitioned third-party cookie deprecation.". I don't have a solution to this yet.
Arey bhai mere fully featured complete ecommerce app bnaa do .. with role base auth seller and admin dashboard .. notifications of every events , delivery slip email , forgot reset password email verification on registration advance searching sorting and filtering products and much more with .Net 8 and Angular 18 , please bhai ... it will help a lot for beginner and who can't buy paid courses .. and you'll get a lot of love from all over the world and also likes and subscriber Thanks you #Love #Pakistan.
unfortunately i get this error for signin: Uncaught DOMException: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded. Also can you do a video how to autologin with this practise ? The scenario is that a user login in with google. Then i save his information in my database. The leaves the web app and comes again. I want to retrieve any of his information from my database. How to do it ? It will be an interesting video :)
If you are using Angular v17 with SSR enabled then it might have caused the issue. Try using some third party package to decode the token. That’s auto login stuff can be built with cookie based authentication. Similarly to what Instagram does in the web version.
@@letsprogram30 It will be a helpful video to do it. Because it is something that a lot of people search on the internet. I dod not know how to do it and I search days for a helpful video with autologin with google and Angular 17
I love how you go at a decent pace but explain everything and provide resources. Very useful, thank you!!
I’m glad, thank you!🙂
This video was really helpful!! I was trying to get google sign in done from past two days, but after this video my efforts were shortened to 20-30 mins with integration and testing!
@@swatiinje6986 love to hear this 😉
@letsprogram30 Yeah!!! loved your approach!!
this was the most helpful video on OAuth. thank you very much!
You’re welcome 🙂
Can you please make a tutorial on payment gateway implementation in MEAN Stack?
Wonderful explanation. So easy to understand.
Thank you for the excellent work. Just one question though, in the app routes instead of directly writing the component property and assigning directly the component name, why are you writing loadComponent and then importing inside it the component ? What is the benefit of this approach ?
@@abhishekjadhav9289 so basically I’m utilising the feature of standalone components. So it will create a separate chuck and will lazy load on demand when the route is active
@@letsprogram30 Thank you so much. Keep up the great work.
@@abhishekjadhav9289 Sure man!
The user's profile picture and other details are not displayed until the page is refreshed,
why is it like that for me?
Reactivity might be missing, check the behaviour subject implementation
I am also facing the same issue. Did it got resolved ?
using your video i successfully create sign in flow & add user in my db, now how can i create log in with google flow ?
Can't find the img src. Did you forget about in the description? Or I'm blind?
Haha I’m so sorry, but you can find the whole code in my Netflix clone video 🙂
Everything seems working as expected but at the end after signout the home page doesnot display the google signup button. It only shows after refesh.
just what i needed, thanks man❤
Happy to help 🙂
Stay tuned for Netflix clone, releasing it this weekend!
If need help at any step, DM me on Instagram 😊
Can you help in doing sign in from other page like /signup to /browse ,I am able to do sign in from localhost:4200 to localhost:4200/browse but my use case is different as I mentioned and getting the error message 'The given origin is not allowed for the given client id' and take me to the localhost:4200 from /signup page. It will be very helpful
DM me on linkedIN or Insta
@@letsprogram30 Hi I have DM you on the insta
Thank you sir! Great video
@@elbachiroutidrarine9680 I’m glad you loved it 🙂
Great work sashi..just put more videos on Angular and .NET Core !
and one think i would say its more convinient to use LocalStoragebthan session storage
thanks in Advance....
Thanks man! 🙂
Sure I will be coming up with some more videos.
Also I used session storage here because In case I use different Google account to login in new tab then the app should not update the payload value for the 1st session
Explaination is wonderful but i facing issue on google btn not showing process is same but not showing
"Google is not define"thís error is show how to resolve
@@gaurao123 are you using SSR? Make sure when you have created the application do not select SSR as Yes
@@letsprogram30 yes SSR selected thank u ☺️ sir
@@gaurao123 happy to help, let me know if you need any further help 🙂
mine is not using SSR and is returning the same error :(
@@DragonHeart841 I can help you to check, DM me on my any social media platform
Signout object not cleared properly. When I click sign out still shows object
can you please implement Stripe Payment method Integration with Angular
It will use for both Android and MacOs ???
Hi, thanks for the video! I'm getting a strange error, the login is working fine, but I get: ERROR ReferenceError: google is not defined at _AuthComponent.ngOnInit. I'm new to Angular and ts, anyone knows a solution?
Are you using Angular v17 with SSR?
@@letsprogram30 yes
@@letsprogram30 I'm also getting this error
Guys DM me on insta let’s fix this together!
I am also getting same error, how did you fix it ?
Even on sign out,why the google button is showing the previous logged data in button.
Like
Sign in as ****
Email id
it is not showing the previous logged in data. it is showing your logged in account in browser
Hello Shashi, even I have followed the all steps I am not able to get that sign with google button.
Hello let’s connect and fix it together
@@letsprogram30 I replaced div to button now it is coming... Thanks
@@rahulshelar9943 But does that work on clicking?
how to make the context has signup, I have tried but no changes. How can I achieve that?
Currently with the approach in the video it just cover the authentication. Here signup doesn’t make sense because we are not connected it with Database to store the creds. This approach in the video is to just allow the genuine users who has a Google account.
amazing course
what can be reason of that script gsi/client not work and button doesnt even appear?
i am also the same issue
I am getting this error
ERROR ReferenceError: google is not defined
at _RegisterComponent.ngOnInit
how to fix it, I am using angular 17 with ssr
Hey mate, when you launch the ng new project_name_frontend command, after the step of selecting the Style Sheet option, mark the SSR option as no (n)
same error here, did u find any solution?
@@brunohenriquecontente are you kidding man? :))
@@edwardvlad4945 why ? it's serious.
@@edwardvlad4945 haha 😂
React sheekh lun Kay? Ya phir nodejs
Its a very good video to implement the gsi in angular. Help me with , how to get the access_token .
make more frontend
projects on angular
Screen is white none show
one issue show process is not define on console
@@gaurao123 have you selected SSR as yes will creating the app?
@@letsprogram30 but now create another new project
@@letsprogram30 but last project run or Google button SSR false then output show but router is apply and issue on console
When you run this on mobile phone it does not show Google button, what is the reason?
I had a similar problem with Edge browser on my windows desktop. Turns out that the browser was blocking the google script with the message - "Third-party cookie will be blocked in future Microsoft Edge versions as part of unpartitioned third-party cookie deprecation.". I don't have a solution to this yet.
Can I get git hub link for this tutorial
Thanks brother
you're welcome
Wonderful!
Thanks ☺️
Finally ❤
Wait will be worth 🙂
@@letsprogram30 yes love your content ❤️❤️❤️
@@Booster09999 thanks brother, this will fuel me to get going ❤️
thanks for the video it help me.
I’m glad it was helpful to you!
Bhai angular 6 month experience hai job nahi lag raha hai kya krun
Let’s connect
@@letsprogram30 hii
How to connect
@@MG-cw2xc DM me on Instagram or I will share the topmate link to you were I can guide you
I am making a project from your authentication series
Good, let me know if you need help
Great thanks
Hope it helped 🙂
Arey bhai mere fully featured complete ecommerce app bnaa do .. with role base auth seller and admin dashboard .. notifications of every events , delivery slip email , forgot reset password email verification on registration advance searching sorting and filtering products and much more with .Net 8 and Angular 18 , please bhai ... it will help a lot for beginner and who can't buy paid courses .. and you'll get a lot of love from all over the world and also likes and subscriber Thanks you #Love #Pakistan.
bro i realy appretiate it
@@Aliakbaresmaeiliiii thanks bro
very good
Thank you
Osm
Thanks
Hey Shashi
unfortunately i get this error for signin:
Uncaught DOMException: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.
Also can you do a video how to autologin with this practise ? The scenario is that a user login in with google. Then i save his information in my database. The leaves the web app and comes again. I want to retrieve any of his information from my database. How to do it ? It will be an interesting video :)
If you are using Angular v17 with SSR enabled then it might have caused the issue. Try using some third party package to decode the token.
That’s auto login stuff can be built with cookie based authentication. Similarly to what Instagram does in the web version.
@@letsprogram30 It will be a helpful video to do it. Because it is something that a lot of people search on the internet. I dod not know how to do it and I search days for a helpful video with autologin with google and Angular 17