MENU

Fun & Interesting

Spring Security 6.4: RestClient Support for OAuth2

Dan Vega 12,299 6 months ago
Video Not Working? Fix It Now

🔒 Learn OAuth2 authentication in Spring Boot with the new Rest Client support in Spring Security 6.4! This tutorial walks you through building a secure multi-module application from scratch, complete with authorization server, resource server, and client applications. In this step-by-step guide, we'll build a OAuth2 implementation using Spring Boot 3.4's latest features. Perfect for developers looking to implement secure authentication in their Spring applications! What You'll Learn: • Setting up a multi-module Maven project in Spring Boot • Implementing an OAuth2 authorization server • Creating a secure resource server with protected endpoints • Building client applications with Rest Client OAuth2 support • Understanding OAuth2 flow and architecture • Best practices for Spring Security configuration • Handling unauthorized access and security exceptions ## Video Chapters: 00:00 Introduction & Topic Overview 00:32 Rest Client Background 01:36 Spring Security 6.4 Updates 03:00 Project Architecture Overview 05:20 Creating Authorization Server 08:38 Setting Up Resource Server 14:35 Building OAuth2 Client App 20:40 Testing & Demo 21:34 No-Auth Client Example 🔗 Important Links: GitHub Repository:https://github.com/danvega/golf-scheduler?tab=readme-ov-file Spring Security Docs: https://docs.spring.io/spring-security/reference/ 💻 Technologies Used: • Spring Boot 3.4 RC1 • Spring Security 6.4 • Spring Rest Client • Maven • Java 23 👋 New to the channel? Subscribe for more Spring Boot tutorials and Java development content! 💡 Want to dive deeper into Spring Security? Check out my Spring Security playlist: 📝 Related Videos: • Rest Client Basics Tutorial: https://youtu.be/UDNrJAvKc0k 👋🏻Connect with me: Website: https://www.danvega.dev Twitter: https://twitter.com/therealdanvega Github: https://github.com/danvega LinkedIn: https://www.linkedin.com/in/danvega Newsletter: https://www.danvega.dev/newsletter SUBSCRIBE TO MY CHANNEL: http://bit.ly/2re4GH0 ❤️

Comment