https://medium.com/@AlexanderObregon/spring-securitys-oauth2-annotations-enableoauth2sso-enableresourceserver-and-more-4da272864788