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

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

КОМЕНТАРІ • 24

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

    Code Working Thanks amazing. Thank You Sir

  • @sajith_jeewantha
    @sajith_jeewantha 11 місяців тому +1

    Thanks ☺

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

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

    Thanks amazing.

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

    But how can I do this using API?

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

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

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

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

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

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

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

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

      Hi Riszky,
      You can get it from github.com/TechTool-India/ExampleProject/tree/social-login.
      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

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