Laravel 8 Login With Google | Laravel 8 Socialite | Laravel 8 Google Authentication

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 24

  • @thebenefitsofmeditation.9308
    @thebenefitsofmeditation.9308 2 года назад

    ok great it works but that's because you are a seasoned developer but for new devs? I think you should also show how to get the google settings.

    • @TechToolIndia
      @TechToolIndia  2 года назад

      Sure Will Make Video on the same soon.

  • @ektajoshi4768
    @ektajoshi4768 2 года назад +1

    Code Working Thanks amazing. Thank You Sir

  • @Trueprogramming
    @Trueprogramming 10 месяцев назад +1

    But how can I do this using API?

  • @Macrameandme
    @Macrameandme 2 года назад +1

    I wanted to ask if anyone registered with google on our website so is there any condition like user can access for only 1 month later access token will be expired by google? or user has lifetime access kindly help me on this

    • @TechToolIndia
      @TechToolIndia  2 года назад

      Hey
      Google Token are valid for 7 days in general, But you can get refresh token if token is expired.
      Hope this help.
      Thanks

  • @murtazanoori6414
    @murtazanoori6414 Год назад +1

    Hi can i also sign up with this code using Gmail ?
    or is it only for login

  • @sajith_jeewantha
    @sajith_jeewantha Год назад +1

    Thanks ☺

  • @gabrielmediose5204
    @gabrielmediose5204 Год назад +1

    I Have problem with this code because when im tried to test my web app but there is an error showing "Trying to get property 'id' of non-object" and the error from this code -> Auth::loginUsingId($saveUser->id), help sir

    • @TechToolIndia
      @TechToolIndia  Год назад

      You need to look into variable holding save user seems like there might be some error

  • @millennia
    @millennia 2 года назад +1

    Thanks amazing.

  • @unique3315
    @unique3315 2 года назад

    sir
    once we logged in , then accounts and not listing.. how rewrite the code to list and choose the account for each loggin

    • @TechToolIndia
      @TechToolIndia  2 года назад

      Hey There, For that you need to query for all accounts and print them on blade view file.
      Thanks

  • @MrHamidkurd
    @MrHamidkurd 2 года назад

    Hello dear
    I have a question I hope you can help me to find a solution for this question :
    Already we have a list of users in our database with this field: [name, Gmail].
    in your tutorial, if a user doesn't have an account can register and log in at the same time to a website but in my case I want if already they have a registered account[Gmail] in the database then the users can log in to the website using Google authentication.

    • @TechToolIndia
      @TechToolIndia  2 года назад +1

      Hi Hamid,
      You can update the google callback function and use it as you want,
      It actually totally depend on how you want to use the functionality, once you are inside a callback function you can use it according to your requirements.
      Hope this helps.
      Thanks

    • @MrHamidkurd
      @MrHamidkurd 2 года назад

      @@TechToolIndia Thank you dear

  • @paulaandreamunozarias8774
    @paulaandreamunozarias8774 2 года назад

    Hello, can you explain about ngrok? How do I get that redirect?

    • @TechToolIndia
      @TechToolIndia  2 года назад +1

      Hello There,
      You can use either Laravel valet or Use NgRock To get Redirect URL.
      And Please Update That URL in .env FILE.
      To read more about NgRock you can look at ngrok.com/docs
      Thanks

  • @riszkyhermawan2980
    @riszkyhermawan2980 3 года назад

    U already have that template, where can i get it?

    • @TechToolIndia
      @TechToolIndia  3 года назад +1

      Hi Riszky,
      You can get it from github.com/TechTool-India/ExampleProject/tree/social-login.
      Thanks

  • @allianceskyworld8183
    @allianceskyworld8183 7 месяцев назад +1

    Bro i need your help i just sent you an email please

    • @TechToolIndia
      @TechToolIndia  7 месяцев назад

      Hi Please reach out to info@sentriqoitsolutions.com .
      Thanks