OAuth2 Social Login with Spring Security | 'Sign in with Google' Spring Boot Tutorial

Опубликовано: 08 Ноябрь 2024
на канале: Genuine Coder
7,776
247

In this tutorial, you will learn how to integrate OAuth2 login using social accounts like Google, GitHub, and Facebook in your Spring Boot application. We start by creating a new project and demonstrating the simplest way to implement social logins.

Then, you will learn how to build a personalized profile page that automatically loads after the user logs in. Finally, I will guide you to design a custom login screen with a customized "Login with Google" button.

Spring Security Complete Tutorial:    • Spring Boot 3 Security Tutorial | Aut...  
More Spring boot full courses:    • Spring Boot Tutorials  

📚 Chapters:
(00:00:00) Introduction
(00:01:10) 1. Setting up the project
(00:04:27) 2. Generate Google OAuth client credentials
(00:12:09) 3. Building the social login support in the simplest form
(00:14:52) 3.1. Logging in with Gmail account
(00:16:17) 4. Profile page for logged-in users
(00:23:00) 5. Custom social login button

Find the project on GitHub: https://github.com/afsalashyana/Sprin...

#oauth2 #oauth #springboot #springsecurity