Laravel 12 Authentication: Login with Google Using Socialite
𝗦𝘁𝗮𝗿𝗖𝗼𝗱𝗲 𝗞𝗵
0:00 / 0:00
Laravel 12 Authentication: Login with Google Using Socialite
1 776 просмотров · 8 мес. назад
𝗦𝘁𝗮𝗿𝗖𝗼𝗱𝗲 𝗞𝗵
9,4 тыс. подписчиков
1 776 просмотров · 8 мес. назад
👋 Hi there, I’m Soeng Souy (StarCode Kh)
🌱 Currently creating sample projects with Laravel, React, Vue, Node, Nuxt, Python, and Livewire
👯 Looking to collaborate on open-source PHP & JavaScript projects
💬 Ask me anything about Laravel, MySQL, or Flutter
⚡ Fun fact: I love turning ☕️ into code!
About This Video
Learn how to implement Google Login authentication in Laravel 12 using Laravel Socialite in this complete step-by-step tutorial.
Google Sign-In allows users to authenticate quickly without creating a password, making your application more secure and user-friendly.
In this video, you’ll build a production-ready Google OAuth login system with Laravel 12, including user creation and secure authentication flow.
What you’ll learn in this tutorial:
✔️ Set up Laravel Socialite in Laravel 12
✔️ Configure Google OAuth credentials
✔️ Create Login with Google functionality
✔️ Automatically register users from Google
✔️ Store Google profile data securely
✔️ Handle callbacks and authentication flow
✔️ Prepare your app for production use
Perfect for Laravel developers who want to add modern social login to their applications.
👉 LIKE 👍, COMMENT 💬, and SUBSCRIBE 🔔 for more Laravel 12 authentication tutorials!
Full Code
[https://www.souysoeng.com/2026/02/lar...]
▸|00:00:00|Introduction
▸|00:01:05|What You Will Build
▸|00:02:20|Requirements
▸|00:03:05|Step 1: Create Google OAuth Credentials
▸|00:07:12|Step 2: Install Laravel Socialite
▸|00:08:04|Step 3: Configure Google Service
▸|00:08:33|Step 4: Add Environment Variables
▸|00:09:59|Step 5: Create Google-Ready Users Table
▸|00:11:20|Step 6: Create Google Authentication Controller
▸|00:12:52|Step 7: Define Routes
▸|00:13:26|Step 8: Add Google Login Button
▸|00:14:03|Step 9: Protect Dashboard Route
▸|00:14:27|Step 10: Run & Test the Application
▸|00:14:40|Test Flow
Follow Soeng Souy on:
► Subscribe for FREE: / @laravelcrud
► Telegram: https://t.me/starcodekh
► Facebook page: / starcodekh
► Website: https://souysoeng.com
► Fix Code: https://fixcodekh.com
► LinkedIn: / soengsouy
► Twitter: / starcodekh
#Laravel12 #GoogleLogin #LaravelSocialite #Authentication #OAuth #WebDevelopment #PHP #StarCodeKh