Complete Spring 7 & Spring Boot 4 course from beginner to Advance using first thought principle.
Curated by: Coder Army (41 videos)
Spring Boot Full Course #39 Learn OAuth 2.0 and OpenID Connect from first principles by implementing “Login with Google” in a Spring Boot application. We begin with the problem OAuth 2.0 solves and gradually build the complete Authorization Code Flow. After understanding the theory, we configure Google Cloud, connect it with Spring Security and store the authenticated Google user in our own database. Topics covered: ✅ Why OAuth 2.0 is needed ✅ Authentication vs authorization ✅ OAuth 2.0 roles ✅ Scopes and user consent ✅ Access token, ID token and refresh token ✅ OAuth 2.0 vs OpenID Connect ✅ Authorization Code Flow ✅ State parameter and CSRF protection ✅ PKCE explained from first principles ✅ Client ID, client secret and redirect URI ✅ Google Cloud OAuth client configuration ✅ Spring Boot OAuth2 Client setup ✅ Custom OIDC user service ✅ Saving Google users in our database ✅ OAuth2 Login with Spring Security sessions By the end of the video, you will understand both how OAuth 2.0 works internally and how to implement Google signup and login in a real Spring Boot application. JAVA Full COurse Series : https://youtube.com/playlist?list=PLQEaRBV9gAFsR15tNo2QLF9d2qc-c018p&si=4qQP_euMTZMvAwNu Join our WhatsApp Group: https://www.whatsapp.com/channel/0029VbBF1XKF1YlMyYuPM23s Code and Notes: Github : https://github.com/adityatandon15/Spring-Framework-Full-Course We have paid courses on DSA, Web Development , Blockchain, System Design & GenAI. Join Courses: https://strikes.in/ Coder Army Website: https://coderarmy.in/#home Coder Army App: https://play.google.com/store/apps/details?id=com.rohit.negi Connect with Aditya Tandon Instagram : https://www.instagram.com/adityatandon2 LinkedIn : https://www.linkedin.com/in/adityatandon2 Twitter : https://x.com/adityatandon02 Timestamps: