Login With Google Account Using PHP & Client API & Bootstrap Design

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ธ.ค. 2024

ความคิดเห็น • 449

  • @SenaidBacinovic
    @SenaidBacinovic  6 ปีที่แล้ว +3

    Do you want to become a web developer from scratch??? Check this: bit.ly/devAccelerator

    • @TV-vu9fg
      @TV-vu9fg 6 ปีที่แล้ว

      Thanks for your video, but I have a problem since I am a beginner.When I use localhost server, it cannot redirect to the callback.php, saying "localhost doesn't send any data ERR_EMPTY_RESPONSE".

    • @whatwhywhy
      @whatwhywhy 6 ปีที่แล้ว

      thanks for this lesson . your source code free but maybe bad code for commercial or bot in your source code . tahnks your answ.

    • @amiyaghosh6869
      @amiyaghosh6869 5 ปีที่แล้ว

      Can u make a tutorial how to store google user info on database

    • @ankitajaswani810
      @ankitajaswani810 5 ปีที่แล้ว

      I m getting an error in config.php line 8 as

    • @ahsanjutt4598
      @ahsanjutt4598 3 ปีที่แล้ว

      @@ankitajaswani810 May your api library isn't download completely. check for autolaod.php in folder.

  • @yitzchaksviridyuk932
    @yitzchaksviridyuk932 4 ปีที่แล้ว +7

    Even though it's almost 3 years later, this tutorial has helped me very much. Your teaching style is not too fast or too slow, and this lesson did exactly what it said it would. Thank you very much.

    • @SenaidBacinovic
      @SenaidBacinovic  4 ปีที่แล้ว +1

      You're very welcome!

    • @yitzchaksviridyuk932
      @yitzchaksviridyuk932 4 ปีที่แล้ว

      @@SenaidBacinovic 😁

    • @spiderangelo
      @spiderangelo 4 ปีที่แล้ว

      @@SenaidBacinovic I would like to communicate with you my email id is spiderangelo@gmail.com plz provide ur mail id

  • @ClintonRyanThompson
    @ClintonRyanThompson 2 ปีที่แล้ว

    THANK YOU SO MUCH for making this!!! I've been scouring the web to figure this out - BEST VIDEO EVER!

  • @gerardobrunoleonpanti3018
    @gerardobrunoleonpanti3018 7 ปีที่แล้ว +1

    Dude! that's the way to be straightforward: concise and right to the point! Really found enjoyable and worth watching your vid since it works, I already shared with my classmates. One thing I wanted to add up, for those who miss the implementation of the Log-out button (if you have the code provided by Senaid's web page):
    //after line 51 in index.php add this code
    Log-out

    • @gerardobrunoleonpanti3018
      @gerardobrunoleonpanti3018 7 ปีที่แล้ว +1

      Another tip: if you want to retrieve, and not only display, account's givenName, familyName, and so on (such as in a use case where you want to store that information in your own database), don't forget to add scopes to the config.php, in my case i wanted to store givenName and familyName and email from the account so:
      //in config.php add this to...
      $gClient->addScope("www.googleapis.com/auth/plus.login www.googleapis.com/auth/userinfo.email www.googleapis.com/auth/userinfo.profile www.googleapis.com/auth/plus.me");

    • @SenaidBacinovic
      @SenaidBacinovic  7 ปีที่แล้ว

      Thank you so much for nice words, sharing with your classmates and also helping others in this community with tips on how to do additional things on the code. You're amazing!

  • @cxvoiqw9917
    @cxvoiqw9917 5 ปีที่แล้ว +1

    I bookmarked your phpmailer, fb login and google login because I got a remote work that they need me to implement these tasks. Thank you so much! You're a great help.

  • @Ayman_Hassan
    @Ayman_Hassan 4 ปีที่แล้ว +1

    Before watching this video I didn't know the way it login by Google account but now I think that I can do it easily by following your video
    thanks bro ❤

  • @rohansaand2023
    @rohansaand2023 7 ปีที่แล้ว +2

    damn bro, about to reach 1000 subs
    so quick from the first 500, you are killing it!

    • @SenaidBacinovic
      @SenaidBacinovic  7 ปีที่แล้ว +2

      Thank you so much! It wouldn't be possible without the help of my followers. :)

  • @haksenguz
    @haksenguz 3 ปีที่แล้ว +2

    Thank you very much! It was a very useful tutorial. I was finally able to make Google Sign in to my website. I have a question sir. As I am new to PHP I did not how to make Google sign in on my hosted website. Iuploaded Google API library to my webserver and made Google sign in. It was difficult to do it, since it took long time to upload 30MB file to the server. In web development in commercial websites, when making Google sign in, do you also upload large file to server? Or it is done by other ways? I will be genuinely glad, if you answer me! Thank you!

  • @alessiobianchini928
    @alessiobianchini928 6 ปีที่แล้ว +5

    Thank you, this is exactly what I searched for the entire morning!

  • @sajabz2007
    @sajabz2007 6 ปีที่แล้ว +3

    I don't do comments but, I will make an exception just this once. Bravo. Great vid. Cheers!

  • @revanslacey
    @revanslacey 4 ปีที่แล้ว

    One of the better explained tutorials. Thank you.

  • @ravikumarturamalla21
    @ravikumarturamalla21 5 ปีที่แล้ว +1

    I tried the API but got guzzlehttp certificate error. Gone to Client class of Guzzlehttp folder of GoogleApi and set configure defaults function verify to false. Works like a charm. Thanks for the awesome tutorial.

  • @inclinedscorpio
    @inclinedscorpio 5 ปีที่แล้ว +1

    That's the kind of AT THE POINT TUTORIAL || You delivered what was needed !

  • @anselmdike2817
    @anselmdike2817 2 ปีที่แล้ว +2

    very nice tutorial

  • @pixelhouseco
    @pixelhouseco 4 ปีที่แล้ว +1

    Sorry for my English but it is a translator. my question is: are all the files that your code has necessary? I uploaded it to my subdomain and there are more than 6000 files, obviously replacing index, login, etc. can some be removed?

  • @ArjunSingh-qt5jn
    @ArjunSingh-qt5jn 4 ปีที่แล้ว +1

    yes, you saved my life
    Keep coming more videos :)

  • @hafizzubairalikhan6946
    @hafizzubairalikhan6946 5 ปีที่แล้ว

    Hi sir, which editor you are using?

  • @_daniel24
    @_daniel24 7 ปีที่แล้ว +1

    Hello Senaid, your content helps me so much to learn web development.
    I'd like to see a tutorial about paypal payments, for example i'd like this functionality:
    1. User fills a price form.
    2. User gets redirected to PayPal.
    3. If the transaction was successfully completed, insert the data from the first step into database.
    I tried doing this myself but i can't really get it to work, and also i want to see the secure way to do this.
    Thanks for your tutorials, and keep up the good work, you are awesome !

    • @SenaidBacinovic
      @SenaidBacinovic  7 ปีที่แล้ว +1

      Awesome, I am so happy that I could help you. :D
      I will for sure make one tutorial that will cover everything about PayPal payments so that you can integrate it into your website and start selling products/services.

  • @ahsanjutt4598
    @ahsanjutt4598 3 ปีที่แล้ว

    Kindly share the link where we can learn more about scopes.

  • @mirjanakatalina591
    @mirjanakatalina591 6 ปีที่แล้ว +1

    Ovo je super. Svaka čast! Hvala ti

  • @erindgjyshja8545
    @erindgjyshja8545 6 ปีที่แล้ว

    Great Job - never watched any of your videos before but I am subscribed just from this.

  • @MikkoVille
    @MikkoVille 6 ปีที่แล้ว +3

    Excellent. Simple and to the point. Thank you for this!

  • @siyabuddin410
    @siyabuddin410 4 ปีที่แล้ว

    Really informative and workfull criteria i also lerant alot of things from your tutorials.

  • @habetech
    @habetech 4 ปีที่แล้ว

    dobar video ,svaka čast na trudu !

  • @hardiksomaiya8989
    @hardiksomaiya8989 7 ปีที่แล้ว +1

    Great tutorial my friend. You made it simple and easy to understand. Helped a lot. Thanks

    • @SenaidBacinovic
      @SenaidBacinovic  7 ปีที่แล้ว

      Thank you so much! Appreciate the feedback! :)

  • @eziochannel9373
    @eziochannel9373 4 ปีที่แล้ว

    u earned my subs bro, keep it up. I like your explaination

  • @andreighita8762
    @andreighita8762 5 ปีที่แล้ว

    The 'id" scope is the unique id that google has for every user? Or what it represents exactly?

  • @aky017
    @aky017 7 ปีที่แล้ว +1

    Svaka čast! Zbilja si mi uštedio puno vremena. Pozdrav iz Hrvatske.

    • @SenaidBacinovic
      @SenaidBacinovic  7 ปีที่แล้ว

      Hvala puno, drago mi je to čuti! :D

  • @RamKumar-de2ps
    @RamKumar-de2ps 6 ปีที่แล้ว +1

    Awesome man..... I am looking for this one.... Great job.......

  • @Great_Pyramid_of_Paris
    @Great_Pyramid_of_Paris 5 ปีที่แล้ว +1

    You didn't do the logout part. Or did I miss? How to login with google+ with different accounts?

  • @michellebarzilai6281
    @michellebarzilai6281 6 ปีที่แล้ว +4

    Great tutorial, thanks!! but I do have a question - when I tried to run this on my web server it didn't work (error 500 on the gcallback page), but when I tried running it on localhost it worked perfectly. Anyone knows what could it be?

  • @patrick-dev
    @patrick-dev 4 ปีที่แล้ว

    Thanks for the tutorial. I just have a quick question and would like you to provide me with a good suggestion: Is there any way to minimize or compress the google SDK file? Because its too heavy.

  • @KSabitaSadiqShahabuddin
    @KSabitaSadiqShahabuddin 4 ปีที่แล้ว

    will it work when we have a live web server ?

  • @siluncai7341
    @siluncai7341 6 ปีที่แล้ว +1

    Wow...great tutorial.... thanks dude...so awesome...i gonna try this tomorrow...

    • @SenaidBacinovic
      @SenaidBacinovic  6 ปีที่แล้ว

      Thank you! Have you tried it? :)

    • @siluncai7341
      @siluncai7341 6 ปีที่แล้ว

      Yea, I just try it, and its working ! Thanks for sharing your knowledge bro. Now i need to working on modifying it to my own style of coding. Thumbs Up! Does GoogleAPI allowed to give response with much more details information? such as Age, Address, Country, etc.

  • @techstruct4784
    @techstruct4784 4 ปีที่แล้ว

    Is it nessary to store this data into the database to retrive its data for email and password field functions?

  • @derik4622
    @derik4622 5 ปีที่แล้ว

    What extension do you use to show your array in such a nice order on chrome?

    • @Felix15Koeln
      @Felix15Koeln 5 ปีที่แล้ว +1

      Derik Stavast he echoed the tag

  • @jasurbekyuldoshev2673
    @jasurbekyuldoshev2673 6 ปีที่แล้ว

    i have 1 question , the way u taught us was from login page to index.php right ? i mean from 1 page to another page, my question is how to implement the same thing but for single-page-application when contents of page changes according to if a user is authenticated or not... Thanks in advance !

  • @angelsantiago8190
    @angelsantiago8190 7 ปีที่แล้ว +1

    Senaid great video. If I'm creating this for a client would I need to create the API in Google Development with the clients credentials, or would I create API for the client using my credentials in Google Development? What would be the best practice?

    • @SenaidBacinovic
      @SenaidBacinovic  7 ปีที่แล้ว +1

      Thank you :)
      It all depends on the project, and also from the deal that you have with that specific customer. In most cases, personally, I, will just use client credentials.

  • @bennyjwalter566
    @bennyjwalter566 4 ปีที่แล้ว

    Thanks for the course.

  • @fomz21
    @fomz21 4 ปีที่แล้ว

    Thank you for this! you made it look so easy

  • @weforyouweb1165
    @weforyouweb1165 5 ปีที่แล้ว +1

    Good one! Helpful.Thank you.

  • @sownthear.d6418
    @sownthear.d6418 5 ปีที่แล้ว +1

    I am getting syntax error on login.php at 9th line...Help me to reslove it

  • @darshanprajapati2942
    @darshanprajapati2942 6 ปีที่แล้ว

    Great Job Gentleman....I really Like It ..

  • @virajlifestyle447
    @virajlifestyle447 6 ปีที่แล้ว +1

    you are doing great job , really helpful

  • @ILTECHS
    @ILTECHS 5 ปีที่แล้ว +1

    Very nice tutorial !!!

  • @acente2998
    @acente2998 7 ปีที่แล้ว

    Thank you for this!!! I was wondering, though, using this OAuth method, instead of using a Sign in with Google button, can you instead retrieve input from an email and password text field? Meaning, the users will type in their G-mail credentials in the text field and when they hit sign-in, the system will use the credentials in the input fields to authenticate with Google? thanks!

    • @SenaidBacinovic
      @SenaidBacinovic  7 ปีที่แล้ว +1

      Hmm, why would you do that?

    • @acente2998
      @acente2998 7 ปีที่แล้ว +1

      Coding Passive Income
      hi! nevermind! this method you used was the better one thank you and keep up with the nice tutorials

    • @SenaidBacinovic
      @SenaidBacinovic  7 ปีที่แล้ว +2

      Thank you so much, and I am sorry that it took a month for me to reply to your comment, but I've lost it in the dozens of others.

  • @x1_medusa_1x
    @x1_medusa_1x 7 ปีที่แล้ว +1

    hey. I love your videos! can you tell me please, what software do you use ?! thank you !

    • @SenaidBacinovic
      @SenaidBacinovic  7 ปีที่แล้ว

      Thank you so much! I am using PHPStorm.

  • @suluabdullahi101
    @suluabdullahi101 4 ปีที่แล้ว

    Thank You Mr. Coding Passing. But i want to know how someone can fetch a particular user data when Login to a page base on id in SELECT Statement. Pls Help!!

  • @desarrolladorcii5091
    @desarrolladorcii5091 5 ปีที่แล้ว +1

    Thank you very much, days ago I was looking for this. The best method I found. regards

  • @anthonyleong3011
    @anthonyleong3011 6 ปีที่แล้ว

    Hello Sir, how can we know if user signed out in google , we also need to execute sign out them from our system , how can we do this ?

  • @nihadpp6200
    @nihadpp6200 6 ปีที่แล้ว +1

    getting an error ssl certificate problem

  • @agehjeremiah
    @agehjeremiah 5 ปีที่แล้ว +1

    Excellent!!!

  • @joanteran1297
    @joanteran1297 5 ปีที่แล้ว +1

    Hi Men! Excelent video, thanks you very much!

  • @xalfaprint
    @xalfaprint 6 ปีที่แล้ว

    Hello, very good tutorial, but there is something that is not working, in my system downloaded the zip package of the tutorial, the function that negotiates the token fails as if it did not exist .. (maybe the file is corrupt), or missing some piece is integrated, I have no problem in the PHP version and I only have a problem for the detection of this function. What adjustments do I make? That is the question. Thank you very much for your response beforehand. PHP.5.6.30 Windows

  • @tipsmobillegends6553
    @tipsmobillegends6553 3 ปีที่แล้ว +1

    Thank you so much 👍

  • @JakubScherbaum
    @JakubScherbaum 7 ปีที่แล้ว

    Hi, nice video tutorial.
    I wanna ask you, how to allow specific users to log-in ? Is there any way to do it via Google Dev console or i have to make it out in my code? The only way that comes on my mind is to compare user ID after login. Is it right or there is some security issue?

    • @SenaidBacinovic
      @SenaidBacinovic  7 ปีที่แล้ว

      That's completely fine, there is nothing wrong with that approach.

  • @anhhoang-sz7qx
    @anhhoang-sz7qx 5 ปีที่แล้ว +1

    hello sir. first! i want thanks you for this tutorial! thanks u so much!

  • @KartikAnand123
    @KartikAnand123 7 ปีที่แล้ว +4

    Awesome,Great Video dude........U r doing a very nice job.....!!!

  • @fabienekoutesone6046
    @fabienekoutesone6046 4 ปีที่แล้ว +1

    tkanks you
    Good bless you FAbien from Cameroun

  • @amiyaghosh6869
    @amiyaghosh6869 5 ปีที่แล้ว +1

    Can u make a tutorial how to store google user info on database

  • @yashraval9984
    @yashraval9984 4 ปีที่แล้ว

    So the user cannot just type in index.php into the url bar and access the page?

  • @jackvaughn2364
    @jackvaughn2364 3 ปีที่แล้ว

    i love it! Thank you bro!

  • @1979DY
    @1979DY 5 ปีที่แล้ว

    Thanks a lot for the video it was very helpful

  • @shailesh2278
    @shailesh2278 6 ปีที่แล้ว

    Hey @SenaidBacinovic how can I logout form index and login with another email?
    It login with same email when I logged in again....but I want to to login with another mail...
    Thanks for this awesome video.

    • @SenaidBacinovic
      @SenaidBacinovic  6 ปีที่แล้ว

      Thank you. You will need to log out manually from your Google account, and after that try to log in again.

    • @shailesh2278
      @shailesh2278 6 ปีที่แล้ว

      Is it not possible to logout from index.php and login with another email from login.php without going through gmail logout? :-)

    • @SenaidBacinovic
      @SenaidBacinovic  6 ปีที่แล้ว

      Please read this for awesome explanation: stackoverflow.com/questions/12909332/how-to-logout-of-an-application-where-i-used-oauth2-to-login-with-google/12909563#12909563 :)

    • @shailesh2278
      @shailesh2278 6 ปีที่แล้ว +1

      Thanks alot Senaid

  • @sharadrokade5803
    @sharadrokade5803 6 ปีที่แล้ว +1

    very very good...thanks for sharing knowledge

  • @mohammedadnan5653
    @mohammedadnan5653 5 ปีที่แล้ว

    links to url not available

  • @djosfr
    @djosfr 6 ปีที่แล้ว +1

    great video. Raw Php as you show it is clean code for a dev environement. Cheers from France.

  • @prashantkushwah9023
    @prashantkushwah9023 7 ปีที่แล้ว +1

    Awesome sir you really teach well

  • @SinghatehAlagie
    @SinghatehAlagie 6 ปีที่แล้ว

    hello sir, i want to make something for my school management system that is working with, but I don't have any idea how to make the students receive information from the teacher or the principal and the teacher will able to set an exam for the students based on their id and enable and disable students that are not active. That is the things that I want from my student management system. Could you please help me and explain it to me in detail. thank you so much... your video is helping me a lot to learn coding fast.

  • @jacobparas4202
    @jacobparas4202 4 ปีที่แล้ว

    www.googleapis.com/auth/plus.login
    this scope doesnt exist anymore
    what are the solutions to fix it?

  • @girishv8829
    @girishv8829 7 ปีที่แล้ว +1

    Please do video on dependent select tag .

    • @SenaidBacinovic
      @SenaidBacinovic  7 ปีที่แล้ว +1

      Girish V There is already one. :)
      Here you go th-cam.com/video/XVsMCtA1Jow/w-d-xo.html

  • @cutemail4348
    @cutemail4348 5 ปีที่แล้ว

    How to do it without google+ scope as its already shut down.

  • @cumaelvis4612
    @cumaelvis4612 4 ปีที่แล้ว

    hello, for the connection using either google, facebook, twiter and other ... can't we register these users who connect in the MYSQL database? I say that because I made a form for checking emails with the OTP code so I will integrate this connection with google, facebook, twitter, instagram ... can you tell me please

  • @lborealtv
    @lborealtv 5 ปีที่แล้ว

    Hi, greettings from Argentina.
    I have a cuestion.
    I am working with php too.. I want to store the refresh token in my database to use the token of the user while the user is not on my site. I am building a application that manages the user account (Obviously.. with the user authorization)..
    How could i get the Refresh token? Thnx

  • @makroshdotcom5823
    @makroshdotcom5823 7 ปีที่แล้ว +1

    nice tutorial bro, you are genius, thanks a lot, you save my time

  • @barathmanikandan688
    @barathmanikandan688 6 ปีที่แล้ว +1

    I am getting, Access Forbidden! Error 403. What to do to rectify the error?

    • @sarakhan-nb7vc
      @sarakhan-nb7vc 6 ปีที่แล้ว

      I am also getting same error. Have your issue solved ?

  • @ikiyavasudevan2900
    @ikiyavasudevan2900 7 ปีที่แล้ว

    Good work.. makes too easy to work with.. is there any tutorial like this for twitter login..?

    • @SenaidBacinovic
      @SenaidBacinovic  7 ปีที่แล้ว

      thank you :)
      I don't have it at the moment, but I am sure you can find some on TH-cam.

  • @menaveen06
    @menaveen06 5 ปีที่แล้ว +1

    Could we get the Google Login example using Gmail API, because Google + plus, should be blocked by the Google.

  • @alejandrodiazsolis608
    @alejandrodiazsolis608 5 ปีที่แล้ว

    thank you! this video solve me a big doubt!

  • @enfragygis9402
    @enfragygis9402 5 ปีที่แล้ว

    Thanks for your video, but I have a problem since I am a beginner.When I use localhost server, it cannot run the code. I am getting syntax error on login.php. Help me to reslove it.

  • @anilmohite8162
    @anilmohite8162 5 ปีที่แล้ว

    nice explain. step by step ...thanx

  • @wacchayansungjuic547
    @wacchayansungjuic547 5 ปีที่แล้ว

    Thank you so much, You make me easy to do my job ..

    • @chirashreebhaduri4538
      @chirashreebhaduri4538 5 ปีที่แล้ว

      I am getting syntax error on login.php at 9th line...Help me to reslove it

  • @sahooramakanta2884
    @sahooramakanta2884 5 ปีที่แล้ว

    How to do it without google+ and only with gmail API, as google plus API has already shut down?

  • @simpsonfong2472
    @simpsonfong2472 4 ปีที่แล้ว +1

    Sir, I'm having issue of sign out to google.
    When I click sign out button it successfully sign out and redirect to login page, but when I click login button again it just redirect to index page which is remember my account that been login.
    It should destroy the access token and when I click login button it needs to select account again and get the permission again to redirect to index page.
    Can sir or any viewers help me to solve this problem if you see this comments?

    • @yifangyuan4998
      @yifangyuan4998 4 ปีที่แล้ว

      i'm having the same issue. Would really appreciate if someone can solve this.

  • @envadd.6556
    @envadd.6556 2 ปีที่แล้ว

    Zemo imam jedno pitanje za tebe a tice se login pa ako bi mi mogao dati neko svijetlo na to posto sam stuck lol. Naime pokusavam napraviti program koji ce biti online ili cloud based, ali hocu da koristim jednu scriptu gdje ce ljudi moci imati account a zatim moci dodati sub-accounts koji ce moci vidjeti samo stvari vezane za taj main account. Inspiracija je od Weebly ili Square gdje svi idu na jednu adresu a onda vidi samo sto je njihovo iako je shared website.. Jel takvo nesto moguce ili pametno i kako da to aproach nemogu da savladam taj koncept ili ga previse komplikujem...

  • @honeybehmeni1263
    @honeybehmeni1263 7 ปีที่แล้ว +1

    Sir can you tell me how I can post on page through PHP sdk and graph explore.thanks sir.

  • @budi.dermawan
    @budi.dermawan 6 ปีที่แล้ว +1

    very good video. nice explanation.

  • @musictioficial8273
    @musictioficial8273 7 ปีที่แล้ว

    Hi i have a question. I am developing a website and integrated the facebook login. At first was testing the ogin with on gmail account and it worked perfectly, i deleted the app permisison on facebook, deleted also in my c panel, deleted it my chache, everything. When i tried to create an account with facebook using the same account it says "sorry email not received by post" , yet when i go to my facebook account in the app section i see my app registered on facebook, but not my cpanel to create the account to give acces to the user to acces the page for the service i am providing. Why is that happening?

  • @peacefulhack
    @peacefulhack 5 ปีที่แล้ว

    can u help me, i got an error for g-callback, it said "Fatal error: Uncaught GuzzleHttp\Exception\RequestException: cURL error 77: error setting certificate verify locations: CAfile:......GoogleAPI\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php on line 187"

  • @pozzseth8926
    @pozzseth8926 6 ปีที่แล้ว

    can you tell me about software user

  • @saisumanth3042
    @saisumanth3042 6 ปีที่แล้ว

    Hii Senald bro,I am trying to build oAuth 2.0(i.e,Login with "mycompany") for a company as an intern,Can you just tell me how can i relate this video to me!!!And can you suggest any other thing for my project??
    Thank you and finally,You are awesome Bro!!

  • @gokulkrishnan3437
    @gokulkrishnan3437 5 ปีที่แล้ว +1

    Super keep it up

    • @gokulkrishnan3437
      @gokulkrishnan3437 5 ปีที่แล้ว

      I like this video lot of time searching on video show very good thanks for this video and source code...

    • @SenaidBacinovic
      @SenaidBacinovic  5 ปีที่แล้ว

      Thank you :)

  • @luismanuelperezherrera660
    @luismanuelperezherrera660 6 ปีที่แล้ว +1

    i have a problem bro Parse error: syntax error, unexpected ':', expecting ',' or ')' in C:\xampp\htdocs\login\config.php on line 10
    my php version 7.1.11

  • @MehDi-de2ru
    @MehDi-de2ru 5 ปีที่แล้ว

    Thanks, That answer the question : how to simply use the oauth2 api . However your example is not secure, anyone can forge a session variable and create an access token and then have access to the index.php page .

    • @a.yashwanth
      @a.yashwanth 5 ปีที่แล้ว

      Then what's the secure method?

    • @MehDi-de2ru
      @MehDi-de2ru 5 ปีที่แล้ว

      @@a.yashwanth Check the validity of the access token

  • @alktab8993
    @alktab8993 6 ปีที่แล้ว +2

    Hi thank you for this learn 🌹

  • @dhanabalp9175
    @dhanabalp9175 6 ปีที่แล้ว

    wonderful dude great work..

  • @dvrsdheeraj7776
    @dvrsdheeraj7776 6 ปีที่แล้ว

    Hello sir, When retrieving user information curl is sending connection refused error message could you please resolve

  • @williamsighodalo4254
    @williamsighodalo4254 5 ปีที่แล้ว

    Thanks for sharing. Really helped me in my project.

  • @vikraantvishwakarma7954
    @vikraantvishwakarma7954 6 ปีที่แล้ว +1

    On localhost working fine. but on server Google auth showing HTTP 403 error forbidden

    • @sarakhan-nb7vc
      @sarakhan-nb7vc 6 ปีที่แล้ว +1

      I am also getting same error. Have your issue solved ?

    • @vikraantvishwakarma7954
      @vikraantvishwakarma7954 6 ปีที่แล้ว

      please discuss with your hosting provider bcoz sometime they block mod security. now my code working fine.

    • @parulrawat8194
      @parulrawat8194 5 ปีที่แล้ว

      @@vikraantvishwakarma7954 really its working fine? on server

  • @justleaveitblank269
    @justleaveitblank269 6 ปีที่แล้ว +1

    Very Nice