Secure Server-to-Server Communication with Spring Boot and OAuth 2.0

David

Hi Brian, thanks for writing this. It’s one of the clearest guides I could find on how to use client credentials in Spring Boot.

While following along, I discovered that the Spring Security OAuth project is deprecated, so your code works, but there are deprecation warnings on ClientCredentialsResourceDetails and OAuth2RestTemplate. There is a OAuth 2.0 Migration Guide which is helpful, but it doesn’t replace a good tutorial. I’m wondering if you’ve written an updated guide?