Google authentication in Angular Project | Google SignIn Angular | Angular Social Login with Google
ฝัง
- เผยแพร่เมื่อ 8 ธ.ค. 2024
- Join this channel to get access to the perks:
/ @letsprogram30
🚀 Supercharge Your Angular App with Google Authentication Magic! 🚀
Welcome, fellow coders! 🌐 Ready to take your Angular app's security game to the next level? Buckle up for an epic tutorial where we unravel the secrets of integrating Google Authentication seamlessly!
🔐 Unleash the Power: What We'll Cover
🛠️ Setting up OAuth 2.0 with Google
🚪 Crafting a User Authentication Experience Like Never Before
🔒 Fortifying Your App with Top-notch Security Practices
🌈 Elevating User Experience for a Login Fiesta
👩💻 Who's This For?
Angular Devs of All Stripes: Beginners, Pros, and Everyone in Between
Guardians of App Security 🦸♂️🔐
UX Enthusiasts Ready to Wow Users 🌟
🚀 Why You Should Watch?
In this video, we're not just talking code; we're crafting a symphony of security and user delight. It's time to bid farewell to boring logins and welcome a new era of authentication excitement!
Hit that thumbs up if you're ready to dive into the magic! Share this gem with your coding comrades, and don't forget to subscribe for a front-row seat to more tech adventures! 🎉
🔔 Stay in the Loop!
Ring the notification bell because the learning party is just getting started. Level up your Angular game with each video drop! 🔔
📣 Talk to Us!
Got questions, tips, or just want to share your excitement? The comment section is the place to be. Let's build a community where coding dreams come true! 💬
📢 Connect with us on social media for more exciting tutorials and updates:
Support me: / letsprogram
Connect with me on the below Social links:
Let's Program Blog: letsprogram.in/
TH-cam: / @letsprogram30
Instagram: / lets.program
LinkedIn: / sashikumar-yadav
Telegram: t.me/letsprogr...
Twitter: / yshashi30
Angular Chat App
• Create Chat Applicatio...
MEAN stack AUTH Series
• MEAN stack project set...
Angular Signals
• Signals in Angular | H...
Angular 14 Login and Signup Page | Part 1
• Angular 14 Login and S...
Angular 14 Form Validation| Part 2
• Angular 14 Reactive Fo...
Login & Signup API creation & integration with Angular | Part 3
• Login and Signup using...
Encrypt Password in .NET 6 | Password strength checker in Angular
• Encrypt Password in .N...
Angular Authentication with Hashed Password | Part 5
• Angular Authentication...
Create JWT token in .NET 6 | Angular + .NET authentication | Part 6
• Create JWT token in .N...
Implement JWT token in Angular 14| Interceptors in Angular | Part 7
• Implement JWT token in...
Angular News Application
• Angular 14 News Applic...
Crypto Currency Application
• Angular Project - Cryp...
Angular TODO Application
• TODO Application in An...
Angular 13 CRUD using Material UI
• Angular 13 CRUD with A...
Angular QUIZ Application
• Angular 12 Quiz Applic...
Angular Add-to-cart app
• Add to Cart in Angular...
#AngularMagic #GoogleAuthentication #CodeLikeAPro #DevCommunity #TechTutorial #WebSecurity #UXDesign #CodeNewbie #SubscribeNow #ProgrammingJourney #TechAdventure #AngularDevelopers #securecoding
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.
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 😊
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!
using your video i successfully create sign in flow & add user in my db, now how can i create log in with google flow ?
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
can you please implement Stripe Payment method Integration with Angular
amazing course
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 🙂
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 🙂
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.
It will use for both Android and MacOs ???
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
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 ?
React sheekh lun Kay? Ya phir nodejs
make more frontend
projects on angular
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.
Signout object not cleared properly. When I click sign out still shows object
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?
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
Its a very good video to implement the gsi in angular. Help me with , how to get the access_token .
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
Can I get git hub link for this tutorial
Wonderful!
Thanks ☺️
what can be reason of that script gsi/client not work and button doesnt even appear?
i am also the same issue
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 ?
Thanks brother
you're welcome
very good
Thank you
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 😂
I am making a project from your authentication series
Good, let me know if you need help
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!
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.
Hey Shashi
Great thanks
Hope it helped 🙂
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
Osm
Thanks
bro i realy appretiate it
@@Aliakbaresmaeiliiii thanks bro
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