When it comes to Gmail integration, you can make your users' lives easier by auto-refreshing their OAuth2 tokens. But to do that, you'll need to set up a DataStore implementation.
Sometimes you need to send REST requests with query parameters from a Spring Boot application context. Fortunately, you can easily do that with WebClient.
If you've used the Google to learn about how to implement AuthenticationFailureHandler with Spring Security, you might have noticed that most of the results deal with embedded login forms.
It's often the case with REST requests that you don't get a good response on the first try. Fortunately, you can implement a retry strategy with the Spring WebFlux WebClient API.