Spring Security 6.3 adds first-class support for OAuth 2.0 Token Exchange (RFC 8693), enabling microservices to exchange an existing access token for a new one scoped to a different audience while preserving the original user identity. The guide covers configuring a resource server to act as both a server and an OAuth 2.0
Table of contents
1. Introduction2. What Is OAuth 2.0 Token Exchange?3. Maven Dependencies4. Configuring Resource Server5. Configuring Authorization Server6. Testing the Flow End-to-End7. ConclusionSort: