This module demonstrates OAuth authorization flow using Spring Authorization Server, Spring OAuth Resource Server and Spring OAuth Client.
- Run the Authorization Server from the
spring-authorization-server
module- IMPORTANT: Modify the
/etc/hosts
file and add the entry127.0.0.1 auth-server
- IMPORTANT: Modify the
- Run the Resource Server from
resource-server
module - Run the client from
client-server
module - Go to
http://127.0.0.1:8080/assessments
- Enter the credentials
admin/password
- Enter the credentials
- The module uses the new OAuth stack with Java 11