Create a Google Login Page in PHP

Опубликовано: 13 Ноябрь 2024
на канале: Dave Hollingworth
4,530
254

Learn how to integrate Google Login in PHP.
Please consider supporting my channel: ☕ https://ko-fi.com/davehollingworth

In this project-based tutorial, code along with the instructor to integrate Google login in your PHP website. Using the Google OAuth API is an easy way to allow users to sign in using their Google account.

Source code:
📄 https://gist.github.com/daveh/8955757...

Links shown in the video:
‣ https://packagist.org/packages/google...
‣ https://console.cloud.google.com/
‣ https://github.com/googleapis/google-...
‣ http://myaccount.google.com/security

Related videos:
‣ Composer:    • Use Composer to Easily Manage PHP Pac...  
‣ Storing PHP Settings:    • Securely Storing PHP Configuration Se...  

00:00 Introduction
00:26 Create index page
00:57 Install API package
01:32 Generate login URL
02:06 Generate credentials
04:57 Use credentials
06:40 Create redirect page
09:03 Authenticate with Google
09:52 Remove app permission
10:19 Summary

#PHP #api #oauth2 #google