Set up OAuth 2 Resource Server protection using Spring Security
-Set up OAuth 2 Resource Server protection using Spring Security for your API. Reuse the client_id and client_secret for both the client and resource servers, and the test_* scopes from Seminar 09. Use different scopes for different methods where it makes sense. (The client is registered for the following redirect URLs: http://localhost:8080/login/oauth2/code/muni http://localhost:8081/login/oauth2/code/muni http://localhost:8082/login/oauth2/code/muni http://localhost:8083/login/oauth2/code/muni http://localhost:8084/login/oauth2/code/muni http://localhost:8090/swagger-ui/oauth2-redirect.html. Use the client just to get an access token, no need to implement the UI);
-Use at least 2 different scopes