Angular & Google Login OAuth2 / OpenID Connect - Using the angular-oauth2-oidc Library

Поділитися
Вставка
  • Опубліковано 18 гру 2024

КОМЕНТАРІ • 41

  • @МихаилЯровенко-ф7ч
    @МихаилЯровенко-ф7ч 2 роки тому +2

    Thank you, I struggled whole day, but then found your video and it works for me!

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

    I solved the image problem when loading for the first time with crossorigin="anonymous"> this way
    Thanks video, very useful

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

    it works :) Beautiful and Clean Explanation, Thank you

  • @evgeniusEmelin
    @evgeniusEmelin Рік тому +5

    The image issue is because you are trying to load the image from non https page but the image itself is https. You can see the error message in the console messages

  • @unicornfinance2648
    @unicornfinance2648 2 роки тому +1

    Danke super Ergänzung zum keycloak Video. Vielen Dank für deine Mühe, große Hilfe für mich!

  • @siriuseneegy4484
    @siriuseneegy4484 2 роки тому +1

    great work , expecting more content from you!

  • @sagarjindani6262
    @sagarjindani6262 2 роки тому +2

    I have followed this tutorial and made a demo project got my mails. But i tried to actually do the same for my actual project with backend and stuff. It is showing cors error. Request Header field authorization is not allowed in the access control request header

  • @NiklasF24
    @NiklasF24 11 місяців тому

    Good video! Thanks for your explanation.

  • @kirole7381
    @kirole7381 Рік тому +1

    Great tutorial ! thanks, it worked flawlessly for me. Angular & google

  • @momedalhouma14
    @momedalhouma14 Рік тому

    is it possible to make an angular spring oauth2 example ? I don't see a lot of content on youtube about that. Thanks again

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

    The single sign in doesn't work on the angular app though. ie say If I logout from youtube/google it doesn't logout from the angular app when refreshing. Can also test by running two angular servers with same google login(difffernet redirectURI added). For both login and logout they don't share the session it seems or they can't identiy each other lik how youtube and gmail do.

  • @lucasleandru
    @lucasleandru 2 роки тому

    Very good tutorial, thanks!!!!

  • @santhoshkumarviswanathan5267
    @santhoshkumarviswanathan5267 2 роки тому +1

    hi bro, i have error of "popup was closed by user", when open google sdk login, after submitting user credentials it shows one moment please, it closes automatically and the error appears

  • @Somerandomdudefromtheinternet
    @Somerandomdudefromtheinternet 2 роки тому

    Hey, very useful resource, I coudn't find a way to implement google signin anywhere else. Any idea on how to solve a 403: Invalid API key? Where are we supposed to put the API key in the config?

  • @metallica6852
    @metallica6852 2 роки тому

    Can you create tutorial where the login will work on button click inside a seperate component.

  • @gauravjain9750
    @gauravjain9750 Рік тому

    Here I have a problem comming after successful open-id api call there is one cert api call which gives me forbidden (403 ) ? Can anyone help me out of this ?

  • @gianluremedio69420
    @gianluremedio69420 2 роки тому +2

    To fix the image error you need to change the picture line in the html to

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

    Will it work with the consent
    screen for gmail

  • @saikrishnan1974
    @saikrishnan1974 2 роки тому +1

    Hi Thanks for the video. For some reason, 'tryLoginImplicitFlow' is always returning false, which results in 'hasValidAccessToken' false and it goes in a loop. Any clue why this is happening. As per chrome I am in a logged in state.

    • @saikrishnan1974
      @saikrishnan1974 2 роки тому +1

      Root cause found. It was an implementation issue. anuglar-oauth2-oidc together with angular router is creating some issue. It goes on an infinite loop. Still investigating the same.

    • @brandonnunes6322
      @brandonnunes6322 2 роки тому +1

      @@saikrishnan1974 hello, found any solution? I have the same problem...

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

    It work for Mobile Plateform ?

  • @jerryf196
    @jerryf196 2 роки тому

    does this video show how to get a new access token when it expires?

  • @pachathanni7845
    @pachathanni7845 2 роки тому

    How to open google drive(include drive UI) in popup

  • @momedalhouma14
    @momedalhouma14 Рік тому

    nice tutorial.

  • @farzaibsheikh9764
    @farzaibsheikh9764 2 роки тому +1

    you can't user logout from everywhere like youtube if user is logging out from your website you should use your redirectUri for smooth logout
    i believe logout method is just removing session and token from storage but not redirecting it so we need like oAuthService.logoutUrl = window.location.origin for redirecting now it will smoothly logout :)

  • @ashiqkhan5339
    @ashiqkhan5339 2 роки тому

    where is the sign In button?

  • @anton9443
    @anton9443 2 роки тому

    hm, i get response from google in url

  • @avinashkumar361
    @avinashkumar361 Рік тому

    thank you bro

  • @hariprasathsathasivam428
    @hariprasathsathasivam428 2 роки тому

    I want to google picker api example

  • @escorpianoyqueee
    @escorpianoyqueee Рік тому

    im getting this error:
    Error: Can not load User Profile without access_token

    • @escorpianoyqueee
      @escorpianoyqueee Рік тому +1

      I know the problem, you wrote If (not something) and then the else for the possitive side.... except for this Nazi way of coding, the tutorial is working now.

  • @phuongletaha9789
    @phuongletaha9789 Рік тому

    Please tell me. How to config with sprint boot sir.. Thanks you this video. Very nice sir.

  • @SP-wq6fw
    @SP-wq6fw Рік тому

    GREAT!!!

  • @ilyaskhan2689
    @ilyaskhan2689 2 роки тому

    also make a video on Get Events from Google Calendar

  • @amaanfarooq7583
    @amaanfarooq7583 2 роки тому

    Does this work for login with google on button click ?

    • @ThZFrozen
      @ThZFrozen 2 роки тому

      yep but you have to implement on your login.component

  • @greghanson7047
    @greghanson7047 2 роки тому +1

    Do you have a PayPal address? I'd like to send you my thanks for such a fantastic video.