README.adoc 811 B

12345678910111213
  1. = Messages Sample
  2. This sample integrates `spring-security-oauth2-client` and `spring-security-oauth2-resource-server` with *Spring Authorization Server*.
  3. The username is `user1` and the password is `password`.
  4. == Run the Sample
  5. * Run Authorization Server -> `./gradlew -b samples/default-authorizationserver/samples-default-authorizationserver.gradle bootRun`
  6. ** *IMPORTANT:* Make sure to modify your `/etc/hosts` file to avoid problems with session cookie overwrites between `messages-client` and `default-authorizationserver`. Simply add the entry `127.0.0.1 auth-server`
  7. * Run Resource Server -> `./gradlew -b samples/messages-resource/samples-messages-resource.gradle bootRun`
  8. * Run Client -> `./gradlew -b samples/messages-client/samples-messages-client.gradle bootRun`
  9. * Go to `http://127.0.0.1:8080`