Google authentication in Angular Project | Google SignIn Angular | Angular Social Login with Google

Поділитися
Вставка
  • Опубліковано 15 вер 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/
    UA-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

КОМЕНТАРІ • 87

  • @sabrinapyles563
    @sabrinapyles563 5 місяців тому +3

    I love how you go at a decent pace but explain everything and provide resources. Very useful, thank you!!

  • @Yuri-b7s
    @Yuri-b7s 3 місяці тому +2

    this was the most helpful video on OAuth. thank you very much!

  • @SahilAdeemSayss
    @SahilAdeemSayss 8 місяців тому +2

    Can you please make a tutorial on payment gateway implementation in MEAN Stack?

  • @mitadey3876
    @mitadey3876 Місяць тому

    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.

  • @lidaannajoshy6047
    @lidaannajoshy6047 4 місяці тому +1

    The user's profile picture and other details are not displayed until the page is refreshed,
    why is it like that for me?

    • @letsprogram30
      @letsprogram30  4 місяці тому

      Reactivity might be missing, check the behaviour subject implementation

    • @siddarthreddykoppera5930
      @siddarthreddykoppera5930 3 місяці тому

      I am also facing the same issue. Did it got resolved ?

  • @elbachiroutidrarine9680
    @elbachiroutidrarine9680 5 днів тому

    Thank you sir! Great video

    • @letsprogram30
      @letsprogram30  5 днів тому

      @@elbachiroutidrarine9680 I’m glad you loved it 🙂

  • @abhishekjadhav9289
    @abhishekjadhav9289 6 днів тому

    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 ?

    • @letsprogram30
      @letsprogram30  5 днів тому +1

      @@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

    • @abhishekjadhav9289
      @abhishekjadhav9289 5 днів тому

      @@letsprogram30 Thank you so much. Keep up the great work.

    • @letsprogram30
      @letsprogram30  5 днів тому

      @@abhishekjadhav9289 Sure man!

  • @radudamian3473
    @radudamian3473 9 місяців тому +1

    Can't find the img src. Did you forget about in the description? Or I'm blind?

    • @letsprogram30
      @letsprogram30  9 місяців тому +1

      Haha I’m so sorry, but you can find the whole code in my Netflix clone video 🙂

  • @raviparmar6900
    @raviparmar6900 5 місяців тому

    using your video i successfully create sign in flow & add user in my db, now how can i create log in with google flow ?

  • @Justfunny352
    @Justfunny352 9 місяців тому +2

    just what i needed, thanks man❤

    • @letsprogram30
      @letsprogram30  9 місяців тому +2

      Happy to help 🙂
      Stay tuned for Netflix clone, releasing it this weekend!
      If need help at any step, DM me on Instagram 😊

  • @jayakumar2927
    @jayakumar2927 8 місяців тому

    Signout object not cleared properly. When I click sign out still shows object

  • @pardhulekkala5400
    @pardhulekkala5400 7 місяців тому

    Even on sign out,why the google button is showing the previous logged data in button.
    Like
    Sign in as ****
    Email id

    • @mohsinzaheer382
      @mohsinzaheer382 5 місяців тому

      it is not showing the previous logged in data. it is showing your logged in account in browser

  • @rahulshelar9943
    @rahulshelar9943 2 місяці тому

    Hello Shashi, even I have followed the all steps I am not able to get that sign with google button.

    • @letsprogram30
      @letsprogram30  2 місяці тому

      Hello let’s connect and fix it together

    • @rahulshelar9943
      @rahulshelar9943 2 місяці тому

      @@letsprogram30 I replaced div to button now it is coming... Thanks

    • @moiztankiwala
      @moiztankiwala 27 днів тому

      @@rahulshelar9943 But does that work on clicking?

  • @debankurbhattacharjee3021
    @debankurbhattacharjee3021 9 місяців тому

    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....

    • @letsprogram30
      @letsprogram30  9 місяців тому

      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

  • @KeerthiRajan-lj2tz
    @KeerthiRajan-lj2tz 3 місяці тому

    It will use for both Android and MacOs ???

  • @KanishS-wq4kb
    @KanishS-wq4kb 4 місяці тому

    how to make the context has signup, I have tried but no changes. How can I achieve that?

    • @letsprogram30
      @letsprogram30  4 місяці тому

      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.

  • @bifacial605
    @bifacial605 4 місяці тому

    what can be reason of that script gsi/client not work and button doesnt even appear?

  • @MG-cw2xc
    @MG-cw2xc 9 місяців тому

    React sheekh lun Kay? Ya phir nodejs

  • @PrashanthKumarDS-pl5jd
    @PrashanthKumarDS-pl5jd 21 день тому

    Its a very good video to implement the gsi in angular. Help me with , how to get the access_token .

  • @smzhd9642
    @smzhd9642 6 місяців тому

    can you please implement Stripe Payment method Integration with Angular

  • @waqarkayaniuk
    @waqarkayaniuk 9 місяців тому

    When you run this on mobile phone it does not show Google button, what is the reason?

    • @moiztankiwala
      @moiztankiwala 27 днів тому

      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.

  • @arunkumarboddula4441
    @arunkumarboddula4441 7 місяців тому +4

    Can I get git hub link for this tutorial

  • @AnubhavSingla-fr1ol
    @AnubhavSingla-fr1ol 5 місяців тому

    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

    • @brunohenriquecontente
      @brunohenriquecontente 5 місяців тому

      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)

    • @0203hon
      @0203hon 5 місяців тому

      same error here, did u find any solution?

    • @edwardvlad4945
      @edwardvlad4945 4 місяці тому +1

      @@brunohenriquecontente are you kidding man? :))

    • @brunohenriquecontente
      @brunohenriquecontente 4 місяці тому

      @@edwardvlad4945 why ? it's serious.

    • @brunohenriquecontente
      @brunohenriquecontente 3 місяці тому

      @@edwardvlad4945 haha 😂

  • @LalitKumar-j4d
    @LalitKumar-j4d 16 днів тому

    Thanks brother

  • @ipeek6213
    @ipeek6213 7 місяців тому +1

    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?

    • @letsprogram30
      @letsprogram30  7 місяців тому

      Are you using Angular v17 with SSR?

    • @ipeek6213
      @ipeek6213 7 місяців тому

      @@letsprogram30 yes

    • @muhammedeasadbdo1142
      @muhammedeasadbdo1142 7 місяців тому

      @@letsprogram30 I'm also getting this error

    • @letsprogram30
      @letsprogram30  7 місяців тому

      Guys DM me on insta let’s fix this together!

    • @AnubhavSingla-fr1ol
      @AnubhavSingla-fr1ol 5 місяців тому +1

      I am also getting same error, how did you fix it ?

  • @ayeshdev
    @ayeshdev 5 місяців тому

    make more frontend
    projects on angular

  • @Jayraj_007
    @Jayraj_007 6 місяців тому

    thanks for the video it help me.

    • @letsprogram30
      @letsprogram30  6 місяців тому

      I’m glad it was helpful to you!

  • @user-ht1ce3gc3w
    @user-ht1ce3gc3w 2 місяці тому

    Osm

  • @Development_Tools
    @Development_Tools 3 місяці тому

    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.

  • @millermcdonell291
    @millermcdonell291 8 місяців тому

    Wonderful!

  • @ritwikgupta7540
    @ritwikgupta7540 9 місяців тому

    I am making a project from your authentication series

    • @letsprogram30
      @letsprogram30  9 місяців тому

      Good, let me know if you need help

  • @rishiraj2548
    @rishiraj2548 9 місяців тому

    Great thanks

  • @MG-cw2xc
    @MG-cw2xc 9 місяців тому

    Bhai angular 6 month experience hai job nahi lag raha hai kya krun

    • @letsprogram30
      @letsprogram30  9 місяців тому

      Let’s connect

    • @MG-cw2xc
      @MG-cw2xc 9 місяців тому

      @@letsprogram30 hii

    • @MG-cw2xc
      @MG-cw2xc 9 місяців тому

      How to connect

    • @letsprogram30
      @letsprogram30  9 місяців тому

      @@MG-cw2xc DM me on Instagram or I will share the topmate link to you were I can guide you

  • @gilmarsantossilva4332
    @gilmarsantossilva4332 9 місяців тому

    very good

  • @ritwikgupta7540
    @ritwikgupta7540 9 місяців тому

    Hey Shashi

  • @Booster09999
    @Booster09999 9 місяців тому

    Finally ❤

    • @letsprogram30
      @letsprogram30  9 місяців тому +1

      Wait will be worth 🙂

    • @Booster09999
      @Booster09999 9 місяців тому

      @@letsprogram30 yes love your content ❤️❤️❤️

    • @letsprogram30
      @letsprogram30  9 місяців тому +1

      @@Booster09999 thanks brother, this will fuel me to get going ❤️

  • @NoNdAs90
    @NoNdAs90 7 місяців тому

    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 :)

    • @letsprogram30
      @letsprogram30  7 місяців тому

      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.

    • @NoNdAs90
      @NoNdAs90 7 місяців тому

      @@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