OAuth2 server
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 server, and the test_* scopes from seminar 09. Use different scopes for different methods where it makes sense. (The client is registered for http://localhost:8080 only, the authorization server will not redirect back to other locations. Use the client just to get an access token, no need to implement the UI);
Use at least 2 different scopes;
navazat na praci ve vetvi models_and_authenticator_refactor
pridat servicu do dockeru a do ReadMe, jak ji spustit
Edited by Jiří Smejkal