4

I have a resource server application for which I want to define a controller that needs to get hold of additional information from OAuth2AccessToken. The additional information in the token are added using the authorization server's TokenEnhancer. However, I'm not really sure which part of the whole Spring OAuth 2 configuration I can use for this. I'm using a RemoteTokenServices in my application, which provides a readAccessToken method. However, when I try to use it, I get UnsupportedOperationException.

Psycho Punch
  • 6,418
  • 9
  • 53
  • 86

0 Answers0