Spring @EnableResourceServer vs @EnableOAuth2Sso
These annotations mark your services with different OAuth 2.0 roles. @EnableResourceServer annotation means that your service (in terms of OAuth 2.0 – Resource Server) expects an access token in order to process the request. Access token should be obtained from Authorization Server by OAuth 2.0 Client before calling the Resource Server. @EnableOAuth2Sso: marks your service … Read more