I\'m having a problem configuring an Oauth2 Auth Server in Spring, I have my custom AuthenticationProvider and I\'m defining my own AuthenticationManager, but everytime that