I have seen in some oauth2 implementations additional information on the response returned by the authorization server when it issues access tokens. I\'m wondering if there
I solve this problem when excluded UserDetailsServiceAutoConfiguration. Like this. Maybe wiil be helpful in OAuth2 resource servers.
@SpringBootApplication(exclude = [UserDetailsServiceAutoConfiguration::class]) class Application fun main(args: Array) { runApplication(*args) }