Symfony 7: OAuth2 login with Google

Опубликовано: 09 Август 2026
на канале: Devscast Software
7,250
180

Find out how to implement OAuth2 authentication with Google in Symfony 7 with this detailed tutorial.

CODE: https://github.com/devscast-youtube/s...

Learn the steps needed to configure your Symfony application to allow users to log in via their Google accounts. Explore key OAuth2 concepts and follow step-by-step instructions to integrate this authentication feature into your Symfony 7 project.

0:00 Introduction
0:20 Creating an OAuth login
01:49 Setting up a Symfony 7 project
02:44 HomeController
04:06 Creating a User
06:24 GoogleAuthenticator
08:38 Configuring knpu-oauth-client
11:39 OAuth2Authenticator
34:05 SecurityController
41:52 Migrations
42:45 Test and Conclusion

https://oauth2-client.thephpleague.co...
https://github.com/knpuniversity/oaut...
https://console.cloud.google.com/home...


#symfony #php #oauth #google

=== Mon setup ===
Macbook Pro 2019
Micro : Behringer U-phoria UM2 Studio
Logiciels : OBS, Audacity et DaVinci Resolve 18
Slides : Apple Keynote, SlidesCodeHighligther
IDE : Phpstorm, Pycharm et VsCode

=== Mes réseaux ===
Blog : https://ngandu.hashnode.dev
Github : https://github.com/bernard-ng
Instagram :   / _bernard.ng_  
Linkedin :   / bernard-ngandu  
X (Twitter) : https://x.com/BernardNgandu
Youtube :    / @bernard-ng  

=== Communauté ===
Telegram : https://t.me/devscast
Site internet : https://devscast.tech
Github : https://github.com/devscast
Podcast :    / @devscast_org_podcast  
X (Twitter) :   / devscast_org  
Linkedin:   / devscast-community