0

I'm trying to migrate an old project from Spring 5.3.X to Spring Boot 3.0.6 and running into an issue with our deprecated OAuth server ( self-built). It's implemented so far that you can't get roles / scopes of the user with the JWT or you can load the roles / scopes from a database - No, you have to call a protected REST endpoint of the OAuth server to get the information. I can still do that with Spring 5.3.x using org.springframework.security.oauth2.client.OAuth2RestTemplate. But this class does not exist anymore with Spring Boot 3.0.6. What options do I have now to call the protected REST endpoint of the OAuth server?

Nkalian
  • 141
  • 1
  • 1
  • 5

0 Answers0