I am trying to use spring-security-oauth2.0 with Java based configuration. My configuration is done, but when i deploy application on tomcat and hit the
spring-security-oauth2.0
setting management.security.enabled=false in application.properties resolved the issue for me.
management.security.enabled=false
application.properties